summarylogtreecommitdiffstats
path: root/peercoin-qt@.service
diff options
context:
space:
mode:
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