This commit is contained in:
juewuy
2020-09-18 21:07:13 +08:00
parent a2fced324e
commit 248e85d7a5
2 changed files with 116 additions and 0 deletions

15
scripts/clash.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=clash
After=network.target
[Service]
Type=simple
User=root
ExecStart=/etc/clash/clash -d /etc/clash
ExecStartPost=/etc/clash/start.sh afstart
Restart=on-failure
RestartSec=3s
[Install]
WantedBy=multi-user.target