11 lines
368 B
Bash
11 lines
368 B
Bash
cp ./hysteria-client.service /etc/systemd/system/hysteria-client.service
|
|
|
|
#给执行文件加权限
|
|
chmod +x ./hysteria-linux-amd64-avx
|
|
chmod +x ./hysteria-linux-amd64
|
|
|
|
systemctl daemon-reload
|
|
systemctl enable hysteria-client.service
|
|
systemctl start hysteria-client.service
|
|
systemctl status hysteria-client.service
|
|
echo "hysteria-client.service installed successfully" |