summarylogtreecommitdiffstats
path: root/peercoind@.service
diff options
context:
space:
mode:
Diffstat (limited to 'peercoind@.service')
-rw-r--r--peercoind@.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/peercoind@.service b/peercoind@.service
new file mode 100644
index 00000000000..a6e65c84b9d
--- /dev/null
+++ b/peercoind@.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Peercoin Daemon
+After=network.target
+
+[Service]
+User=%i
+Group=users
+Type=simple
+Restart=on-failure
+ExecStart=/usr/bin/ppcoind
+## security
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+NoNewPrivileges=true
+
+[Install]
+WantedBy=default.target