distribution/packages/sysutils/systemd/patches/systemd-0500-Add-working-directory-storage-for-debug-shell.patch

24 lines
692 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
From c38a2fc53e5ebb3fc4637a168408591003aad0fb Mon Sep 17 00:00:00 2001
From: Portisch <hugo.portisch@yahoo.de>
Date: Mon, 30 Sep 2019 12:20:00 +0200
Subject: [PATCH] Add working directory '/storage' for debug-shell
---
units/debug-shell.service.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in
index 9f3868e106..d5f93f18a6 100644
--- a/units/debug-shell.service.in
+++ b/units/debug-shell.service.in
@@ -16,6 +16,7 @@ IgnoreOnIsolate=yes
ConditionPathExists=@DEBUGTTY@
2022-02-28 21:31:20 +00:00
2022-02-05 14:23:32 +00:00
[Service]
+WorkingDirectory=/storage
Environment=ENV=/etc/profile
ExecStart=/bin/sh -c 'echo -en "\033[?25h"; exec /bin/sh'
Restart=always
2022-02-28 21:31:20 +00:00
--
2022-02-05 14:23:32 +00:00
2.17.1