forked from systemd/systemd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
units: allow and use SuccessAction=exit-force in system systemd-exit.…
…service C.f. 287419c: 'systemctl exit 42' can be used to set an exit value and pulls in exit.target, which pulls in systemd-exit.service, which calls org.fdo.Manager.Exit, which calls method_exit(), which sets the objective to MANAGER_EXIT. Allow the same to happen through SuccessAction=exit. v2: update for 'exit' and 'exit-force'
- Loading branch information
Showing
5 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,7 @@ units = [ | |
'multi-user.target.wants/'], | ||
['systemd-coredump.socket', 'ENABLE_COREDUMP', | ||
'sockets.target.wants/'], | ||
['systemd-exit.service', ''], | ||
['systemd-initctl.socket', '', | ||
'sockets.target.wants/'], | ||
['systemd-journal-gatewayd.socket', 'ENABLE_REMOTE HAVE_MICROHTTPD'], | ||
|
@@ -135,7 +136,6 @@ in_units = [ | |
['systemd-binfmt.service', 'ENABLE_BINFMT', | ||
'sysinit.target.wants/'], | ||
['[email protected]', 'ENABLE_COREDUMP'], | ||
['systemd-exit.service', ''], | ||
['systemd-firstboot.service', 'ENABLE_FIRSTBOOT', | ||
'sysinit.target.wants/'], | ||
['systemd-fsck-root.service', ''], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters