summarylogtreecommitdiffstats
path: root/bn.service
diff options
context:
space:
mode:
Diffstat (limited to 'bn.service')
-rw-r--r--bn.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/bn.service b/bn.service
new file mode 100644
index 000000000000..0d8375b8f768
--- /dev/null
+++ b/bn.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Bitcoin Node: a Bitcoin full node
+Conflicts=bn-init.service bs-init.service bs.service
+
+[Service]
+Type=simple
+User=obelisk
+Group=obelisk
+ExecStart=/usr/bin/bn /etc/obelisk/bn/bn.cfg
+ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
+ExecStop=/usr/bin/kill -s SIGINT $MAINPID
+
+[Install]
+WantedBy=multi-user.target