summarylogtreecommitdiffstats
path: root/theholyrogerd.service
diff options
context:
space:
mode:
Diffstat (limited to 'theholyrogerd.service')
-rw-r--r--theholyrogerd.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/theholyrogerd.service b/theholyrogerd.service
new file mode 100644
index 000000000000..ba01ccbbffa1
--- /dev/null
+++ b/theholyrogerd.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=TheHolyRoger's distributed currency daemon
+After=network.target
+
+[Service]
+User=theholyroger
+Group=theholyroger
+
+Type=forking
+PIDFile=/var/lib/theholyrogerd/theholyrogerd.pid
+ExecStart=/usr/bin/theholyrogerd -daemon -pid=/var/lib/theholyrogerd/theholyrogerd.pid \
+-conf=/etc/theholyroger/theholyroger.conf -datadir=/var/lib/theholyrogerd -disablewallet
+
+Restart=always
+PrivateTmp=true
+TimeoutStopSec=60s
+TimeoutStartSec=2s
+StartLimitInterval=120s
+StartLimitBurst=5
+
+[Install]
+WantedBy=multi-user.target