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

18 lines
473 B
Desktop File

[Unit]
Description=Bitcoin Daemon
Conflicts=bitcoin-reindex.service
After=network.target
[Service]
User=bitcoin
Group=bitcoin
ExecStart=/usr/bin/bitcoind -daemon=0 \
-conf=/etc/bitcoin/bitcoin.conf \
-datadir=/srv/bitcoin \
-pid=/run/bitcoind.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/bitcoind stop
[Install]
WantedBy=multi-user.target