summaryrefslogtreecommitdiff
path: root/community-testing/tor/tor.service
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/tor/tor.service')
-rw-r--r--community-testing/tor/tor.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/community-testing/tor/tor.service b/community-testing/tor/tor.service
new file mode 100644
index 000000000..eb9b556b5
--- /dev/null
+++ b/community-testing/tor/tor.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Anonymizing Overlay Network
+
+[Service]
+Type=forking
+GuessMainPID=yes
+EnvironmentFile=/etc/conf.d/tor
+ExecStart=/usr/bin/tor -f $TOR_CONF $TOR_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+KillSignal=SIGINT
+
+[Install]
+WantedBy=multi-user.target