mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 18:37:41 +01:00
cln: set systemd service to Restart=always (#4853)
prevents cln to remain off after dependency failure
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user