diff options
Diffstat (limited to 'bn-init.service')
-rw-r--r-- | bn-init.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bn-init.service b/bn-init.service new file mode 100644 index 000000000000..c62a8e95ae47 --- /dev/null +++ b/bn-init.service @@ -0,0 +1,12 @@ +[Unit] +Description=Bitcoin Node: initialize database in the configured directory +Conflicts=bn.service bs-init.service bs.service + +[Service] +Type=oneshot +User=obelisk +Group=obelisk +ExecStart=/usr/bin/bn -i /etc/obelisk/bn/bn.cfg + +[Install] +WantedBy=multi-user.target |