mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-17 21:31:45 +01: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
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user