diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-07 04:37:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-07 04:37:42 +0200 |
commit | acb591e4523af82be3d76fde342e91c90a4bed38 (patch) | |
tree | 1e6306d013be64b2c20a3be98454ab10710a3796 /src/service.c | |
parent | ecdbca40bd985f269cd77fc122a648630f330c28 (diff) |
execute: change stdout inherit logic, when run as PID 1 use /dev/null
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c index ecfd054105..9086590cbb 100644 --- a/src/service.c +++ b/src/service.c @@ -686,6 +686,7 @@ static int service_load_sysv_path(Service *s, const char *path) { s->valid_no_process = true; s->kill_mode = KILL_PROCESS_GROUP; s->restart = SERVICE_ONCE; + s->exec_context.std_output = EXEC_OUTPUT_TTY; u->meta.load_state = UNIT_LOADED; r = 0; |