mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-25 21:25:59 +07:00
service: use 'syslog+console' for sysv_console
The default output to 'tty' for SysV service was making it hard to debug problems because error messages were missing from syslog.
This commit is contained in:
parent
a37b560a63
commit
18d01523c8
@ -841,7 +841,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
|
||||
s->restart = SERVICE_RESTART_NO;
|
||||
|
||||
if (s->meta.manager->sysv_console)
|
||||
s->exec_context.std_output = EXEC_OUTPUT_TTY;
|
||||
s->exec_context.std_output = EXEC_OUTPUT_SYSLOG_AND_CONSOLE;
|
||||
|
||||
s->exec_context.kill_mode = KILL_PROCESS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user