ShellCrash/scripts/clash.service

16 lines
252 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
LimitNOFILE=999999
2020-09-18 21:07:13 +08:00
[Install]
WantedBy=multi-user.target