mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 15:10:38 +01:00
21 lines
No EOL
474 B
Desktop File
21 lines
No EOL
474 B
Desktop File
[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=simple
|
|
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
|
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 |