mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 23:21:13 +01:00
20 lines
397 B
SYSTEMD
20 lines
397 B
SYSTEMD
|
[Unit]
|
||
|
Description=Bitcoin daemon
|
||
|
Wants=getpublicip.service
|
||
|
After=getpublicip.service
|
||
|
|
||
|
# for use with sendmail alert (coming soon)
|
||
|
#OnFailure=systemd-sendmail@%n
|
||
|
|
||
|
[Service]
|
||
|
User=bitcoin
|
||
|
Group=bitcoin
|
||
|
Type=simple
|
||
|
ExecStart=/usr/local/bin/litecoind -daemon -conf=/home/bitcoin/.litecoin/litecoin.conf
|
||
|
KillMode=process
|
||
|
Restart=always
|
||
|
TimeoutSec=120
|
||
|
RestartSec=30
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|