summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-20 01:08:13 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-20 01:08:13 +0200
commitff876e283a61320b718ec752d93b1fd40a5fdd0c (patch)
tree2968b5ff4e6efa27bbc02c2f54cf3f4ada6d1f0f /src/service.c
parentca9a0317a45f8a4ab702e9b8ce4542d8452a47ad (diff)
execute: reopen console in the spawned processes, if necessary
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/service.c b/src/service.c
index 2fcb304e86..3e2a499ec8 100644
--- a/src/service.c
+++ b/src/service.c
@@ -632,11 +632,6 @@ static int service_load_sysv_path(Service *s, const char *path) {
s->valid_no_process = true;
s->kill_mode = KILL_PROCESS_GROUP;
- /* For SysV services log output should go to the console */
- s->exec_context.std_input = EXEC_INPUT_NULL;
- s->exec_context.std_output = EXEC_OUTPUT_TTY;
- s->exec_context.std_error = EXEC_OUTPUT_TTY;
-
u->meta.load_state = UNIT_LOADED;
r = 0;