summarylogtreecommitdiffstats
path: root/bsinit.service
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-06-09 11:41:58 -0700
committerAndy Weidenbaum2015-06-09 11:41:58 -0700
commite678c90e4c295cdfcbb232664f0c47326e845978 (patch)
treec8dcf8e695f4df500093d02f97b5b61f63a7b631 /bsinit.service
downloadaur-e678c90e4c295cdfcbb232664f0c47326e845978.tar.gz
Initial import
Diffstat (limited to 'bsinit.service')
-rw-r--r--bsinit.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/bsinit.service b/bsinit.service
new file mode 100644
index 00000000000..6b6acfd9b1a
--- /dev/null
+++ b/bsinit.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Libbitcoin server: initialize database in the configured directory
+Conflicts=bs.service
+
+[Service]
+Type=oneshot
+User=bs
+Group=bs
+ExecStart=/usr/bin/bs -i /etc/bs/bs.cfg
+
+[Install]
+WantedBy=multi-user.target