Tweak watchdog

This commit is contained in:
Frédéric Guillot 2021-05-22 20:25:38 -07:00
parent c4a56105ca
commit 012eb61c52
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ func startDaemon(store *storage.Storage) {
systemd.SdNotify(systemd.SdNotifyWatchdog)
}
time.Sleep(interval / 2)
time.Sleep(interval / 3)
}
}()
}

View file

@ -17,7 +17,7 @@ User=miniflux
Type=notify
# https://www.freedesktop.org/software/systemd/man/systemd.service.html#WatchdogSec=
WatchdogSec=30s
WatchdogSec=60s
WatchdogSignal=SIGKILL
# https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=