summarylogtreecommitdiffstats
path: root/clash-meta@.service
blob: e3bdfc85c053a57d6472008d1511716f331e8ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Clash-Meta Daemon for %i.
After=network.target NetworkManager.service systemd-networkd.service iwd.service

[Service]
Type=exec
User=%i
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
Restart=on-abort
ExecStart=/usr/bin/clash-meta

[Install]
WantedBy=multi-user.target