summarylogtreecommitdiffstats
path: root/shadowsocks-libev-tunnel@.service
diff options
context:
space:
mode:
Diffstat (limited to 'shadowsocks-libev-tunnel@.service')
-rw-r--r--shadowsocks-libev-tunnel@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/shadowsocks-libev-tunnel@.service b/shadowsocks-libev-tunnel@.service
new file mode 100644
index 00000000000..e04bca9462c
--- /dev/null
+++ b/shadowsocks-libev-tunnel@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service Tunnel Mode
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/%i.json
+
+[Install]
+WantedBy=multi-user.target
+