summarylogtreecommitdiffstats
path: root/peercoind-tor@.service
diff options
context:
space:
mode:
authorcimer2016-03-10 20:47:54 +0100
committercimer2016-03-10 20:47:54 +0100
commit5c5eccdf98a6704df8af75b0f9ac8eedede0b7e1 (patch)
tree657c2a83a27673398f792290f9523bcce4f04ada /peercoind-tor@.service
parenta30a41475f1f7eb707940bac770938d790af7283 (diff)
downloadaur-5c5eccdf98a6704df8af75b0f9ac8eedede0b7e1.tar.gz
rename of ppcoind package, various fixes and improvements
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