mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
cln: set systemd service to Restart=always (#4853)
prevents cln to remain off after dependency failure
This commit is contained in:
parent
b9f7388d87
commit
6ae2f64b4e
@ -60,16 +60,14 @@ ExecStartPost=-/home/admin/config.scripts/cl.check.sh poststart $CHAIN
|
|||||||
|
|
||||||
# Creates /run/lightningd owned by bitcoin
|
# Creates /run/lightningd owned by bitcoin
|
||||||
RuntimeDirectory=lightningd
|
RuntimeDirectory=lightningd
|
||||||
|
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
Group=bitcoin
|
Group=bitcoin
|
||||||
# Type=forking hangs on restart
|
# Type=forking hangs on restart
|
||||||
Type=simple
|
Type=simple
|
||||||
PIDFile=/run/lightningd/${netprefix}lightningd.pid
|
PIDFile=/run/lightningd/${netprefix}lightningd.pid
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
|
RestartSec=60
|
||||||
TimeoutSec=240
|
TimeoutSec=240
|
||||||
RestartSec=30
|
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user