]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus-proxy: add ExecReload= 857/head
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 4 Aug 2015 11:19:50 +0000 (13:19 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 4 Aug 2015 11:19:50 +0000 (13:19 +0200)
Make sure we support ExecReload= for bus-proxyd to reload configuration
during runtime. This is *really* handy when hacking on kdbus.

Package-managers are still recommended to run
 `busctl --address=unix:path=` directly.

units/systemd-bus-proxyd.service.m4.in
units/user/systemd-bus-proxyd.service.in

index ffaf0bdc87c0a87252592c7c9f2f215df2ede123..64f5ac7d17a892876240f8efe2aa37c1d09a8b7a 100644 (file)
@@ -10,6 +10,7 @@ Description=Legacy D-Bus Protocol Compatibility Daemon
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-bus-proxyd --address=kernel:path=/sys/fs/kdbus/0-system/bus
+ExecReload=@bindir@/busctl --address=unix:path=/run/dbus/system_bus_socket call org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus ReloadConfig
 NotifyAccess=main
 CapabilityBoundingSet=CAP_IPC_OWNER CAP_SETUID CAP_SETGID CAP_SETPCAP m4_ifdef(`HAVE_SMACK', CAP_MAC_ADMIN )
 PrivateTmp=yes
index e1e399dc3291a3624490258342e087711990d6e2..6f79707b46fc254a23a38e5b1c8bb5810cc4f84a 100644 (file)
@@ -10,4 +10,5 @@ Description=Legacy D-Bus Protocol Compatibility Daemon
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-bus-proxyd --address=kernel:path=/sys/fs/kdbus/%U-user/bus
+ExecReload=@bindir@/busctl --address=unix:path=/run/user/%U/bus call org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus ReloadConfig
 NotifyAccess=main