mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 18:22:01 +01:00
23 lines
517 B
Desktop File
23 lines
517 B
Desktop File
# RaspiBlitz: systemd unit for bitcoind
|
|
|
|
[Unit]
|
|
Description=Bitcoin daemon
|
|
Wants=bootstrap.service
|
|
After=bootstrap.service
|
|
|
|
# for use with sendmail alert (coming soon)
|
|
#OnFailure=systemd-sendmail@%n
|
|
|
|
[Service]
|
|
User=bitcoin
|
|
Group=bitcoin
|
|
Type=forking
|
|
PIDFile=/home/bitcoin/.bitcoin/bitcoind.pid
|
|
ExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoin/bitcoind.pid
|
|
KillMode=process
|
|
Restart=always
|
|
TimeoutSec=120
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |