From ff47028e163a9844f51967e14ddfbc4b8302ecc43e11f02f1be9e9ff940eb43b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Suchomel?= Date: Fri, 23 Sep 2011 13:39:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-installation?expand=0&rev=129 --- YaST2-Second-Stage.service | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/YaST2-Second-Stage.service b/YaST2-Second-Stage.service index a55c838..c06b34c 100644 --- a/YaST2-Second-Stage.service +++ b/YaST2-Second-Stage.service @@ -2,12 +2,17 @@ Description=YaST2 Second Stage After=apparmor.service local-fs.target Before=getty@tty1.service xdm.service -ConditionPathExists=/var/lib/YaST2/runme_at_boot +ConditionPathExists=|/var/lib/YaST2/runme_at_boot +ConditionPathExists=|/run/systemd/keep_running [Service] Type=oneshot +ExecStart=/bin/touch /run/systemd/keep_running ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage +RemainAfterExit=yes +TimeoutSec=0 ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot +ExecStartPost=/bin/rm -f /run/systemd/keep_running [Install] WantedBy=default.target