summarylogtreecommitdiffstats
path: root/shadowsocksr-server@.service
diff options
context:
space:
mode:
authorpsdp2018-07-14 23:09:42 +0800
committerpsdp2018-07-14 23:14:28 +0800
commitcde53dfb0e12593e70c31353e0c5e721d6fb7d6a (patch)
tree62a30cc949ca4b79eed235df258fd94c2dc7f4c0 /shadowsocksr-server@.service
downloadaur-cde53dfb0e12593e70c31353e0c5e721d6fb7d6a.tar.gz
Python port of ShadowsocksR
Diffstat (limited to 'shadowsocksr-server@.service')
-rw-r--r--shadowsocksr-server@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/shadowsocksr-server@.service b/shadowsocksr-server@.service
new file mode 100644
index 00000000000..fc7406fe860
--- /dev/null
+++ b/shadowsocksr-server@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=ShadowsocksR Server Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/ssserver -c /etc/shadowsocksr/%i.json
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file