update litecoin systemd service

This commit is contained in:
Christian Rotzoll 2019-06-30 23:26:28 +02:00
parent 28cd68d42f
commit 3637df1fb0

View File

@ -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