Tweak watchdog
This commit is contained in:
parent
c4a56105ca
commit
012eb61c52
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ func startDaemon(store *storage.Storage) {
|
|||
systemd.SdNotify(systemd.SdNotifyWatchdog)
|
||||
}
|
||||
|
||||
time.Sleep(interval / 2)
|
||||
time.Sleep(interval / 3)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
|
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue