summarylogtreecommitdiffstats
path: root/psiphon.service
diff options
context:
space:
mode:
authorModelmat2019-10-26 12:42:08 +1100
committerModelmat2019-10-26 12:42:08 +1100
commit327fa01d753df66499df7c12176cf28727f3e6ab (patch)
treed24cd90c773891d615099825adb29da151865c1a /psiphon.service
downloadaur-327fa01d753df66499df7c12176cf28727f3e6ab.tar.gz
Adds package
Diffstat (limited to 'psiphon.service')
-rw-r--r--psiphon.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/psiphon.service b/psiphon.service
new file mode 100644
index 000000000000..15ce0c6fdc39
--- /dev/null
+++ b/psiphon.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Psiphon Tunnelling Proxy
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+ExecStart=/usr/bin/psiphon-tunnel-core --config /etc/psiphon.conf -formatNotices
+ExecStop= /usr/bin/killall psiphon-tunnel-
+
+[Install]
+WantedBy=multi-user.target