From 8e47d742a84967431333248dc819687e5aae39ee Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 20 May 2010 20:45:20 +0200 Subject: [PATCH] service: when start is repeated too often, consider that failure --- src/service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/service.c b/src/service.c index 2f699cd1..07b6e4e0 100644 --- a/src/service.c +++ b/src/service.c @@ -1708,6 +1708,7 @@ static int service_start(Unit *u) { /* Make sure we don't enter a busy loop of some kind. */ if (!ratelimit_test(&s->ratelimit)) { log_warning("%s start request repeated too quickly, refusing to start.", u->meta.id); + service_enter_dead(s, false, true); return -ECANCELED; } -- 2.39.5