2013-05-07 14:05:28 +02:00
|
|
|
From 8f861550827e750fb56954c3f91a2f565abb42bb Mon Sep 17 00:00:00 2001
|
2013-01-08 16:05:04 +01:00
|
|
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
|
|
|
Date: Tue, 8 Jan 2013 15:44:33 +0100
|
2013-05-07 14:26:29 +02:00
|
|
|
Subject: [PATCH 1/9] Make "systemctl daemon-reexec" do the right thing on
|
2013-01-08 16:05:04 +01:00
|
|
|
NixOS
|
|
|
|
|
|
|
|
---
|
|
|
|
src/core/main.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2012-09-21 20:57:12 +02:00
|
|
|
|
|
|
|
diff --git a/src/core/main.c b/src/core/main.c
|
2013-05-07 14:05:28 +02:00
|
|
|
index 7fc06be..7575223 100644
|
2012-09-21 20:57:12 +02:00
|
|
|
--- a/src/core/main.c
|
|
|
|
+++ b/src/core/main.c
|
2013-05-07 14:05:28 +02:00
|
|
|
@@ -1857,7 +1857,7 @@ finish:
|
2012-09-21 20:57:12 +02:00
|
|
|
char_array_0(sfd);
|
|
|
|
|
|
|
|
i = 0;
|
|
|
|
- args[i++] = SYSTEMD_BINARY_PATH;
|
|
|
|
+ args[i++] = "/run/current-system/systemd/lib/systemd/systemd";
|
|
|
|
if (switch_root_dir)
|
|
|
|
args[i++] = "--switched-root";
|
|
|
|
args[i++] = arg_running_as == SYSTEMD_SYSTEM ? "--system" : "--user";
|
2013-01-08 16:05:04 +01:00
|
|
|
--
|
2013-05-07 14:05:28 +02:00
|
|
|
1.8.2.1
|
2013-01-08 16:05:04 +01:00
|
|
|
|