summarylogtreecommitdiffstats
path: root/peercoin-qt@.service
diff options
context:
space:
mode:
authorcimer2016-02-29 21:06:24 +0100
committercimer2016-02-29 21:06:24 +0100
commit8a348a868609e6973b387de3087c11b3bf1a5917 (patch)
treef27e24bdeb0a7bf3f526a83fcc0b2d4e65887712 /peercoin-qt@.service
downloadaur-8a348a868609e6973b387de3087c11b3bf1a5917.tar.gz
init
Diffstat (limited to 'peercoin-qt@.service')
-rw-r--r--peercoin-qt@.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/peercoin-qt@.service b/peercoin-qt@.service
new file mode 100644
index 000000000000..7a87aef20e2a
--- /dev/null
+++ b/peercoin-qt@.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=Peercoin-qt
+After=network.target
+After=graphical.target
+
+[Service]
+User=%i
+Group=users
+Type=simple
+Restart=on-failure
+Environment=DISPLAY=:0
+Environment=XAUTHORITY=%h/.Xauthority
+ExecStart=/usr/bin/ppcoin-qt
+## security
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+NoNewPrivileges=true
+
+[Install]
+WantedBy=default.target