From df31a6c0fe07805cb50045fbe91c2a6e7e430562 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 5 Mar 2014 03:36:22 +0100 Subject: systemd-run: add new --property= switch that can set arbitrary properties for the unit that is created The code for parsing these properties is shared with "systemctl set-property", which means all the resource control settings are immediately available. --- src/libsystemd/sd-bus/bus-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libsystemd/sd-bus/bus-util.h') diff --git a/src/libsystemd/sd-bus/bus-util.h b/src/libsystemd/sd-bus/bus-util.h index 51e1613c17..b0936208fb 100644 --- a/src/libsystemd/sd-bus/bus-util.h +++ b/src/libsystemd/sd-bus/bus-util.h @@ -178,3 +178,5 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(sd_bus_creds*, sd_bus_creds_unref); SD_BUS_PROPERTY(name "Monotonic", "t", bus_property_get_usec, (offset) + offsetof(struct dual_timestamp, monotonic), (flags)) int bus_maybe_reply_error(sd_bus_message *m, int r, sd_bus_error *error); + +int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignment); -- cgit v1.2.3-54-g00ecf