summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-07 23:07:39 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-08 12:55:15 +0200
commita34ceba66fc0e856d8f76f340389a4768b57a365 (patch)
treeb34ee4cf6eda0d1fef3df2235c58252b96958c69 /src/core/service.h
parent66cb2fde7b0ab6603775ad13c30c004f5fd88f0c (diff)
core: add support for setting stdin/stdout/stderr for transient services
When starting a transient service, allow setting stdin/stdout/stderr fds for it, by passing them in via the bus. This also simplifies some of the serialization code for units.
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h
index 61bb44fbcf..e765668247 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -195,6 +195,10 @@ struct Service {
char *usb_function_descriptors;
char *usb_function_strings;
+
+ int stdin_fd;
+ int stdout_fd;
+ int stderr_fd;
};
extern const UnitVTable service_vtable;