bus: introduce --nopidfile switch to disable writing of PID files
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Feb 2012 01:25:11 +0000 (02:25 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 10 Feb 2012 10:07:24 +0000 (10:07 +0000)
commita8423067ceac1af6176e14fbc334fe5b82431e3d
tree8dc820e73a095d0b41965c83e1f8bb3ff993359d
parentdd4038156dd7946118f58b763985cdd4c5726bea
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>
bus/bus.c
bus/bus.h
bus/dbus.service.in
bus/main.c
bus/test.c
doc/dbus-daemon.1.in