summarylogtreecommitdiffstats
path: root/peercoind-tor@.service
diff options
context:
space:
mode:
Diffstat (limited to 'peercoind-tor@.service')
-rw-r--r--peercoind-tor@.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/peercoind-tor@.service b/peercoind-tor@.service
new file mode 100644
index 00000000000..405757c69ea
--- /dev/null
+++ b/peercoind-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