Am 25.04.2017 um 17:30 schrieb Jeremy Eder:
If we have a service that is flapping because it's crashing after startup...what's the right way to monitor for that condition? Eventually it triggers startburstlimit, was thinking that if we hit startburstlimit that the service could set some special bit that we could look for.

Like ... systemctl is-flapping myservice --quiet

Any other possibilities?

just put "RestartSec=1" in the unit-file

the default is ridiculous low and easily triggers the restart-limit
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to