summarylogtreecommitdiffstats
path: root/clash-core-service@.service
blob: b3b5cfd45bb5175696ad578fd2e35530cb30bc09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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/bin/cp -f /etc/clash/Country.mmdb /home/%i/.config/clash
ExecStartPre=+/usr/share/clash/setup-cgroup.sh
ExecStart=/usr/share/clash/bypass-proxy /home/%i/.config/clash/service/clash-core-service
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target