ShellCrash/scripts/clash.service

15 lines
233 B
SYSTEMD
Raw Normal View History

2020-09-18 21:07:13 +08:00
[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