2014-11-15 11:41:14 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bitcoin Daemon
|
|
|
|
Requires=network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=bitcoin
|
|
|
|
PIDFile=/run/bitcoin/bitcoind.pid
|
|
|
|
ExecStart=/usr/bin/bitcoind -daemon -conf=/etc/bitcoin/bitcoin.conf -pid=/run/bitcoin/bitcoind.pid -datadir=/var/lib/bitcoin
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2017-06-01 16:33:37 +02:00
|
|
|
Restart=on-failure
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|