ShellCrash/scripts/clash.service
2020-09-18 21:07:13 +08:00

15 lines
233 B
Desktop File

[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