hysteria/install.sh
2025-11-22 13:25:54 +08:00

13 lines
396 B
Bash
Executable File

# 已经添加执行权限
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"