mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 23:57:14 +08:00
19 lines
537 B
SYSTEMD
19 lines
537 B
SYSTEMD
|
[Unit]
|
||
|
Description=Bitcoin Daemon (reindex)
|
||
|
Conflicts=bitcoin.service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=bitcoin
|
||
|
Group=bitcoin
|
||
|
ExecStart=/usr/bin/bitcoind -daemon=0 \
|
||
|
-conf=/etc/bitcoin/bitcoin.conf \
|
||
|
-datadir=/srv/bitcoin \
|
||
|
-reindex \
|
||
|
-pid=/run/bitcoind.pid
|
||
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||
|
ExecStop=/usr/bin/bitcoind stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|