summaryrefslogtreecommitdiff
path: root/bus/bus.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-02 02:25:11 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-10 10:07:24 +0000
commita8423067ceac1af6176e14fbc334fe5b82431e3d (patch)
tree8dc820e73a095d0b41965c83e1f8bb3ff993359d /bus/bus.h
parentdd4038156dd7946118f58b763985cdd4c5726bea (diff)
downloaddbus-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bus/bus.h b/bus/bus.h
index ebef17c7..c4760127 100644
--- a/bus/bus.h
+++ b/bus/bus.h
@@ -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);