mer-packages/systemd — pull request #4 by plundstr (2014-05-05 12:09:20+00:00)
Title: [patch] Added systemd-208-count-only-restarts.patch

Current systemd behavior is such that all starts for service are counted towards StartLimit. If service is manually restarted 3 times within 3 minute interval then service is put in Failed state. Even worse is if service has defined StartLimitAction=reboot then whole system is rebooted.

This Patch moves Start counting to happen only when service gets started by systemd restart logic. Now manual starts and stops for service are not counted towards failure and only real systemd restarts are counted (daemon takes exits and systemd makes restart).

Signed-off-by: Pekka Lundstrom