summarylogtreecommitdiffstats
path: root/clash.service
blob: 9e0daa905b74144c3f20438976f68bb79dc4a9c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Clash-Meta Daemon, Another Clash Kernel.
After=network.target NetworkManager.service systemd-networkd.service iwd.service

[Service]
Type=exec
CapabilityBoundingSet=cap_net_admin cap_sys_admin
AmbientCapabilities=cap_net_admin cap_sys_admin
Restart=on-abort
ExecStart=/usr/bin/clash -d /etc/clash

[Install]
WantedBy=multi-user.target