From 451b34cc1d74960ee0262eef970a6346ec814f31 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 4 Jul 2012 00:23:42 +0200 Subject: service: flush the start counter in "systemctl reset-failed" --- src/core/service.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/service.c b/src/core/service.c index d82803db2b..0c29d4aefa 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -3655,6 +3655,8 @@ static void service_reset_failed(Unit *u) { s->result = SERVICE_SUCCESS; s->reload_result = SERVICE_SUCCESS; + + RATELIMIT_RESET(s->start_limit); } static int service_kill(Unit *u, KillWho who, KillMode mode, int signo, DBusError *error) { -- cgit v1.2.3-54-g00ecf