Harald Hoyer fe20ad
From ddc8a554f100c77f35df682bb528906b26f5f497 Mon Sep 17 00:00:00 2001
Harald Hoyer fe20ad
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Harald Hoyer fe20ad
Date: Tue, 23 Jul 2013 22:01:39 -0400
Harald Hoyer fe20ad
Subject: [PATCH] initctl: use irreversible jobs when switching runlevels
Harald Hoyer fe20ad
Harald Hoyer fe20ad
Spotted by uau in #systemd.
Harald Hoyer fe20ad
---
Harald Hoyer fe20ad
 src/initctl/initctl.c | 2 +-
Harald Hoyer fe20ad
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer fe20ad
Harald Hoyer fe20ad
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
Harald Hoyer fe20ad
index 735f1e1..5fbce4a 100644
Harald Hoyer fe20ad
--- a/src/initctl/initctl.c
Harald Hoyer fe20ad
+++ b/src/initctl/initctl.c
Harald Hoyer fe20ad
@@ -122,7 +122,7 @@ static void change_runlevel(Server *s, int runlevel) {
Harald Hoyer fe20ad
         if (isolate)
Harald Hoyer fe20ad
                 mode = "isolate";
Harald Hoyer fe20ad
         else
Harald Hoyer fe20ad
-                mode = "replace";
Harald Hoyer fe20ad
+                mode = "replace-irreversibly";
Harald Hoyer fe20ad
 
Harald Hoyer fe20ad
         log_debug("Running request %s/start/%s", target, mode);
Harald Hoyer fe20ad