diff options
Diffstat (limited to 'clash-core-service@.service')
-rw-r--r-- | clash-core-service@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clash-core-service@.service b/clash-core-service@.service new file mode 100644 index 000000000000..e5d929811bd8 --- /dev/null +++ b/clash-core-service@.service @@ -0,0 +1,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 |