increase timeoutsec to avoid re-entering the password (#2794)

This commit is contained in:
Tracachang 2021-12-16 22:22:29 +00:00 committed by rootzoll
parent 4ef931f6c4
commit 9f8fbc2f39

View file

@ -62,7 +62,7 @@ User=bitcoin
Group=bitcoin Group=bitcoin
Type=simple Type=simple
Restart=always Restart=always
TimeoutSec=120 TimeoutSec=240
RestartSec=30 RestartSec=30
StandardOutput=null StandardOutput=null
StandardError=journal StandardError=journal
@ -85,4 +85,4 @@ source <(/home/admin/_cache.sh get state)
if [ "${state}" == "ready" ]; then if [ "${state}" == "ready" ]; then
sudo systemctl start ${netprefix}lightningd sudo systemctl start ${netprefix}lightningd
echo "# Started the ${netprefix}lightningd.service" echo "# Started the ${netprefix}lightningd.service"
fi fi