summarylogtreecommitdiffstats
path: root/peerunityd-tor@.service
diff options
context:
space:
mode:
authorcimer2016-04-28 10:56:21 +0200
committercimer2016-04-28 10:56:21 +0200
commit247f33c850ee6fb8fb5831c3277d05f92ce15a1e (patch)
tree63a714fbd112b6703b4d745bd834d736fa1631c7 /peerunityd-tor@.service
parentb4914445eb923d4d59f22012c5782a921ee41e94 (diff)
downloadaur-247f33c850ee6fb8fb5831c3277d05f92ce15a1e.tar.gz
update to 0.2.1
Diffstat (limited to 'peerunityd-tor@.service')
-rw-r--r--peerunityd-tor@.service23
1 files changed, 23 insertions, 0 deletions
diff --git a/peerunityd-tor@.service b/peerunityd-tor@.service
new file mode 100644
index 000000000000..4b2089568468
--- /dev/null
+++ b/peerunityd-tor@.service
@@ -0,0 +1,23 @@
+[Unit]
+Description=Peerunity daemon - Tor
+After=network.target
+Requires=tor.service
+Conflicts=peerunityd@%i.service
+Conflicts=peerunityd-tor@%i.service
+Conflicts=peerunity@$%i.service
+
+[Service]
+User=%i
+Group=users
+Type=simple
+Restart=on-failure
+RestartSec=15
+ExecStart=/usr/bin/peerunityd -proxy=127.0.0.1:9050
+## security
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+NoNewPrivileges=true
+
+[Install]
+WantedBy=default.target \ No newline at end of file