chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: added support for loading IMA custom policies
[elogind.git]
/
units
/
console-shell.service.m4
diff --git
a/units/console-shell.service.m4
b/units/console-shell.service.m4
index cce2d5a5a44e95e9bb45b2fecff852626544005d..fef9e1b176265c9d7cca18ff406a836b6ea7b994 100644
(file)
--- a/
units/console-shell.service.m4
+++ b/
units/console-shell.service.m4
@@
-23,6
+23,9
@@
After=rc-local.service
m4_ifdef(`TARGET_MANDRIVA',
After=rc-local.service
)m4_dnl
m4_ifdef(`TARGET_MANDRIVA',
After=rc-local.service
)m4_dnl
+m4_ifdef(`TARGET_MAGEIA',
+After=rc-local.service
+)m4_dnl
Before=getty.target
[Service]
Before=getty.target
[Service]
@@
-31,7
+34,10
@@
WorkingDirectory=/root
ExecStart=-/sbin/sulogin
ExecStopPost=-/bin/systemctl poweroff
StandardInput=tty-force
ExecStart=-/sbin/sulogin
ExecStopPost=-/bin/systemctl poweroff
StandardInput=tty-force
+StandardOutput=inherit
+StandardError=inherit
KillMode=process
KillMode=process
+IgnoreSIGPIPE=no
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
# terminates cleanly.
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
# terminates cleanly.