cln: set systemd service to Restart=always (#4853)

prevents cln to remain off after dependency failure
This commit is contained in:
openoms
2024-12-04 13:28:17 +01:00
committed by GitHub
parent b9f7388d87
commit 6ae2f64b4e

View File

@@ -60,16 +60,14 @@ ExecStartPost=-/home/admin/config.scripts/cl.check.sh poststart $CHAIN
# Creates /run/lightningd owned by bitcoin
RuntimeDirectory=lightningd
User=bitcoin
Group=bitcoin
# Type=forking hangs on restart
Type=simple
PIDFile=/run/lightningd/${netprefix}lightningd.pid
Restart=on-failure
Restart=always
RestartSec=60
TimeoutSec=240
RestartSec=30
StandardOutput=null
StandardError=journal