diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-02-02 02:25:11 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-10 10:07:24 +0000 |
commit | a8423067ceac1af6176e14fbc334fe5b82431e3d (patch) | |
tree | 8dc820e73a095d0b41965c83e1f8bb3ff993359d /bus/bus.h | |
parent | dd4038156dd7946118f58b763985cdd4c5726bea (diff) | |
download | dbus-a8423067ceac1af6176e14fbc334fe5b82431e3d.tar.gz |
bus: introduce --nopidfile switch to disable writing of PID files
When used with init systems such as systemd (where PID files are
redundant) this allows us to disable PID files even if a path is
configured for them in the normal bus configuration files.
Make use of this new switch in the systemd unit file.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45520
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,6 +77,7 @@ BusContext* bus_context_new (const DBusStri DBusPipe *print_pid_pipe, const DBusString *address, dbus_bool_t systemd_activation, + dbus_bool_t write_pidfile, DBusError *error); dbus_bool_t bus_context_reload_config (BusContext *context, DBusError *error); |