From 18d01523c88d59293d5bd1c199d41ce587e4856e Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Fri, 16 Dec 2011 17:38:01 +0100 Subject: [PATCH] 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. --- src/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service.c b/src/service.c index 5243e690d..feecbbe2b 100644 --- a/src/service.c +++ b/src/service.c @@ -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; -- 2.30.2