summarylogtreecommitdiffstats
path: root/shadowsocks-libev-tunnel@.service
diff options
context:
space:
mode:
authorehs20132016-04-25 04:19:25 +0800
committerehs20132016-04-25 04:19:25 +0800
commitb8dc60cadd63764eb05bd8a4e8827211a5037243 (patch)
tree0deab164509a37baa7b5a4b72636c9eee2bcd69f /shadowsocks-libev-tunnel@.service
downloadaur-shadowsocks-libev-ipv6first.tar.gz
Initial commit
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
+