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/test.c | |
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/test.c')
-rw-r--r-- | bus/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ bus_context_new_test (const DBusString *test_data_dir, } dbus_error_init (&error); - context = bus_context_new (&config_file, FALSE, NULL, NULL, NULL, FALSE, &error); + context = bus_context_new (&config_file, FALSE, NULL, NULL, NULL, FALSE, FALSE, &error); if (context == NULL) { _DBUS_ASSERT_ERROR_IS_SET (&error); |