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