diff --git a/pkg.info b/pkg.info index 0d75fc2..860130c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: dbus description: Freedesktop.org message bus system version: 1.14.10 -revision: 4 +revision: 5 url: https://www.freedesktop.org/wiki/Software/dbus license: AFL2.1 or GPL2-or-later architecture: any diff --git a/source-files/dbus-reload.bpmhook b/source-files/dbus-reload.bpmhook index 8d1307d..4137f34 100644 --- a/source-files/dbus-reload.bpmhook +++ b/source-files/dbus-reload.bpmhook @@ -1,5 +1,5 @@ trigger_operations: ["install", "upgrade", "remove"] target_type: "path" -targets: ["etc/dbus-1/system.d/", "usr/share/dbus-1/system.d/", "usr/share/dbus-1/system-services/"] +targets: ["etc/dbus-1/system.d/*.conf", "usr/share/dbus-1/system.d/*.conf", "usr/share/dbus-1/system-services/*.service"] depends: ["dbus"] -run: "/usr/bin/systemctl try-reload-or-restart dbus" +run: "dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig"