summarylogtreecommitdiffstats
path: root/clash-core-service@.service
blob: 12744a93e888aaae514104cc848e238b1aaab7bf (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=+/usr/share/clash/setup-cgroup.sh
ExecStart=/usr/bin/bypass-proxy /home/%i/.config/clash/service/clash-core-service
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target