summarylogtreecommitdiffstats
path: root/clash-core-service@.service
blob: e5d929811bd808f06cbd472730337f88ba3be9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Clash core service created by Clash for Windows for normal user.
After=network-online.target nftables.service iptabels.service

[Service]
Type=simple
ExecStartPre=/opt/clash-for-windows/cfw-start-pre.sh %i
ExecStart=/home/%i/.config/clash/service/clash-core-service
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target