desktop/bitcoin-core/bitcoin-reindex.service
2017-03-11 19:16:45 +01:00

19 lines
537 B
Desktop File

[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