summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-22 13:16:28 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-22 13:16:28 +0200
commitd081dffbd3e57dc9da494a3384e333bf565d4175 (patch)
treea09f838a8c73078470eb6e17d798abc9cb81bf95 /src/core/service.c
parentb0193f1c1f1540bfccbdca02df82669b9308e4e2 (diff)
core: remove sysv_console option
This option never made much sense. It was originally intended to make sure that the usual startup output of sysv scripts goes to the terminal. However, since SysV scripts started from a terminal would not output to that terminal, but rather /dev/console this effect was more often than not actually taking place. Nowadays systemd has much nicer boot time status output than SysV which makes the sysv output redundant. Finally, all output of services goes to the journal anyway, and is not lost. Hence, let's drop this option, and simplify things a bit.
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/service.c b/src/core/service.c
index eeabe8fb01..ec6aaa55c5 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -928,10 +928,6 @@ static int service_load_sysv_path(Service *s, const char *path) {
s->guess_main_pid = false;
s->restart = SERVICE_RESTART_NO;
s->exec_context.ignore_sigpipe = false;
-
- if (UNIT(s)->manager->sysv_console)
- s->exec_context.std_output = EXEC_OUTPUT_JOURNAL_AND_CONSOLE;
-
s->exec_context.kill_mode = KILL_PROCESS;
/* We use the long description only if