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