mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
24 lines
607 B
Desktop File
24 lines
607 B
Desktop File
[Unit]
|
|
Description=Litecoin 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/.litecoin/litecoind.pid
|
|
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
|
ExecStart=/usr/local/bin/litecoind -daemon -conf=/home/bitcoin/.litecoin/litecoin.conf -pid=/home/bitcoin/.litecoin/litecoind.pid
|
|
KillMode=process
|
|
Restart=always
|
|
TimeoutSec=120
|
|
RestartSec=30
|
|
StandardOutput=null
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |