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