mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-03 09:28:22 +02:00
update litecoin systemd service
This commit is contained in:
parent
28cd68d42f
commit
3637df1fb0
@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Bitcoin daemon
|
||||
Description=Litecoin daemon
|
||||
Wants=bootstrap.service
|
||||
After=bootstrap.service
|
||||
|
||||
@ -9,13 +9,16 @@ After=bootstrap.service
|
||||
[Service]
|
||||
User=bitcoin
|
||||
Group=bitcoin
|
||||
Type=simple
|
||||
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
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user