diff options
Diffstat (limited to 'shadowsocks-libev-tunnel@.service')
-rw-r--r-- | shadowsocks-libev-tunnel@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shadowsocks-libev-tunnel@.service b/shadowsocks-libev-tunnel@.service new file mode 100644 index 000000000000..9fd469a6f23e --- /dev/null +++ b/shadowsocks-libev-tunnel@.service @@ -0,0 +1,13 @@ +[Unit] +Description=Shadowsocks-Libev Client Service Tunnel Mode +After=network.target + +[Service] +Type=simple +User=nobody +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/%i.json + +[Install] +WantedBy=multi-user.target + |