summarylogtreecommitdiffstats
path: root/bn.service
diff options
context:
space:
mode:
authorAndy Weidenbaum2017-03-09 15:44:48 -0800
committerAndy Weidenbaum2017-03-09 15:44:48 -0800
commit12a49fa2f0429c1bd310beb98f12d9ba1cac3352 (patch)
treed594ac6f985f07020255a80c7b161ec2db74c53c /bn.service
parente54dce98fcea9a0ff7c2980c16804e70d11bcc38 (diff)
downloadaur-12a49fa2f0429c1bd310beb98f12d9ba1cac3352.tar.gz
increment pkgrel to 3; obelisk
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