summarylogtreecommitdiffstats
path: root/shadowsocks-libev-redir@.service
blob: de900a78309ba5f5bd3dd28694793f871d262a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Shadowsocks-Libev Client Service Redir Mode
After=network-online.target
Wants=network-online.target

[Service]
Type=exec
User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/%i.json

[Install]
WantedBy=multi-user.target