summarylogtreecommitdiffstats
path: root/ppcoind@.service
diff options
context:
space:
mode:
authorcimer2016-02-29 21:06:24 +0100
committercimer2016-02-29 21:06:24 +0100
commit8a348a868609e6973b387de3087c11b3bf1a5917 (patch)
treef27e24bdeb0a7bf3f526a83fcc0b2d4e65887712 /ppcoind@.service
downloadaur-8a348a868609e6973b387de3087c11b3bf1a5917.tar.gz
init
Diffstat (limited to 'ppcoind@.service')
-rw-r--r--ppcoind@.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/ppcoind@.service b/ppcoind@.service
new file mode 100644
index 000000000000..a6e65c84b9d6
--- /dev/null
+++ b/ppcoind@.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