summarylogtreecommitdiffstats
path: root/ppcoind-tor@.service
diff options
context:
space:
mode:
authorcimer2016-03-03 23:03:51 +0100
committercimer2016-03-03 23:03:51 +0100
commitade738dfd12a6ecc1cf386b12c1f8cdb84f328be (patch)
treec46abbaf6048adcd945559f485d36a9f792dafe6 /ppcoind-tor@.service
parent241c488f192124777036ae665de6625aa7032097 (diff)
downloadaur-ade738dfd12a6ecc1cf386b12c1f8cdb84f328be.tar.gz
fixes, added tor support
Diffstat (limited to 'ppcoind-tor@.service')
-rw-r--r--ppcoind-tor@.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/ppcoind-tor@.service b/ppcoind-tor@.service
new file mode 100644
index 000000000000..405757c69ea2
--- /dev/null
+++ b/ppcoind-tor@.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=Ppcoin Daemon
+After=network.target
+Requires=tor.service
+
+[Service]
+User=%i
+Group=users
+Type=simple
+Restart=on-failure
+RestartSec=15
+ExecStart=/usr/bin/ppcoind -proxy=127.0.0.1:9050
+## security
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+NoNewPrivileges=true
+
+[Install]
+WantedBy=default.target