mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-20 13:36:39 +07:00
rescue: make 'systemctl default' fail if there is already something running when the shell exited
This commit is contained in:
parent
da71f23cda
commit
70db8e3a0b
@ -23,7 +23,7 @@ m4_ifdef(`TARGET_FEDORA',
|
||||
`EnvironmentFile=/etc/sysconfig/init
|
||||
ExecStart=-/bin/bash -c "exec ${SINGLE}"',
|
||||
`ExecStart=-/sbin/sulogin')
|
||||
ExecStopPost=/bin/systemctl default
|
||||
ExecStopPost=-/bin/systemctl --fail default
|
||||
StandardInput=tty-force
|
||||
KillMode=process-group
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user