summarylogtreecommitdiffstats
path: root/shadowsocksrr-libev-tunnel@.service
diff options
context:
space:
mode:
authorperqin2018-03-04 23:13:18 +0800
committerperqin2018-03-04 23:13:18 +0800
commit0de21e29d2f20637c3ff049f570142466a0ad185 (patch)
treea0a3936f36e893b22c64dbb079b51eacf8d9acd5 /shadowsocksrr-libev-tunnel@.service
downloadaur-0de21e29d2f20637c3ff049f570142466a0ad185.tar.gz
PKGBUILDr1
Diffstat (limited to 'shadowsocksrr-libev-tunnel@.service')
-rw-r--r--shadowsocksrr-libev-tunnel@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/shadowsocksrr-libev-tunnel@.service b/shadowsocksrr-libev-tunnel@.service
new file mode 100644
index 00000000000..cdb6e2dc41a
--- /dev/null
+++ b/shadowsocksrr-libev-tunnel@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=ShadowsocksRR-Libev Client Service Tunnel Mode
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/ssrr-tunnel -c /etc/shadowsocksrr/%i.json
+
+[Install]
+WantedBy=multi-user.target