summaryrefslogtreecommitdiff
path: root/src/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-15 11:52:29 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-15 11:52:29 +0100
commit0a494f1ff323ef36b7acc637c198fdfa240c2bb2 (patch)
treeb266f13b03e348b017d62592aa38fd08daecddb3 /src/socket.c
parentb7cf1b68a79833411851fa547ac9b4906207c224 (diff)
exec: introduce global defaults for the standard output of services
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c
index 3f57e35350..c41130ce72 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -77,6 +77,8 @@ static void socket_init(Unit *u) {
s->mark = -1;
exec_context_init(&s->exec_context);
+ s->exec_context.std_output = u->meta.manager->default_std_output;
+ s->exec_context.std_error = u->meta.manager->default_std_error;
s->control_command_id = _SOCKET_EXEC_COMMAND_INVALID;
}