summaryrefslogtreecommitdiff
path: root/src/core/dbus-execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-05 02:02:00 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-05 02:03:10 +0100
commitc7040b5d1c2c148f12b6a5eef3dfce1661805131 (patch)
treedc82be22b8c2ee12913b6723ddf148f8fadeb917 /src/core/dbus-execute.h
parent7b1796403ae1ed0c3299867874cc82ed3ed413a6 (diff)
core: allow User=, Group=, Nice=, Environment=, Type= to be passed when creating a transient service
Diffstat (limited to 'src/core/dbus-execute.h')
-rw-r--r--src/core/dbus-execute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus-execute.h b/src/core/dbus-execute.h
index 5c8bc3063d..e4c2d5ddf6 100644
--- a/src/core/dbus-execute.h
+++ b/src/core/dbus-execute.h
@@ -42,3 +42,5 @@ extern const sd_bus_vtable bus_exec_vtable[];
int bus_property_get_exec_output(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);
int bus_property_get_exec_command(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);
int bus_property_get_exec_command_list(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);
+
+int bus_exec_context_set_transient_property(Unit *u, ExecContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);