chiark / gitweb /
manager: link ~/.local/share/systemd/session to ~/.config/systemd/session if possible
[elogind.git] / src / service.c
index 2f699cd1e66a582e9c7f0653594b6ce2c6d18a01..07b6e4e05a5dda9d3131b43e83050a1f029414e7 100644 (file)
@@ -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;
         }