summaryrefslogtreecommitdiff
path: root/src/dbus-execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-04 03:44:43 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-04 03:44:43 +0100
commit8c7be95e5a80c4bd82d86e9640a071fd98618172 (patch)
treef9f8659f93430ed50da2c677dda705d35df24f69 /src/dbus-execute.h
parent0595f9a1c182a84581749823ef47c5f292e545f9 (diff)
execute: load environment files at time of execution, not when we load the service configuration
https://bugzilla.redhat.com/show_bug.cgi?id=661282
Diffstat (limited to 'src/dbus-execute.h')
-rw-r--r--src/dbus-execute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus-execute.h b/src/dbus-execute.h
index 87dc698b16..082456a9ec 100644
--- a/src/dbus-execute.h
+++ b/src/dbus-execute.h
@@ -93,6 +93,7 @@
#define BUS_EXEC_CONTEXT_PROPERTIES(interface, context) \
{ interface, "Environment", bus_property_append_strv, "as", (context).environment }, \
+ { interface, "EnvironmentFiles", bus_execute_append_env_files, "a(sb)", (context).environment_files }, \
{ interface, "UMask", bus_property_append_mode, "u", &(context).umask }, \
{ interface, "LimitCPU", bus_execute_append_rlimits, "t", &(context) }, \
{ interface, "LimitFSIZE", bus_execute_append_rlimits, "t", &(context) }, \
@@ -169,5 +170,6 @@ int bus_execute_append_capabilities(Manager *m, DBusMessageIter *i, const char *
int bus_execute_append_rlimits(Manager *m, DBusMessageIter *i, const char *property, void *data);
int bus_execute_append_command(Manager *m, DBusMessageIter *u, const char *property, void *data);
int bus_execute_append_kill_mode(Manager *m, DBusMessageIter *i, const char *property, void *data);
+int bus_execute_append_env_files(Manager *m, DBusMessageIter *i, const char *property, void *data);
#endif