Prevent dbus-reload hook from throwing an error when dbus isn't running

This commit is contained in:
2025-07-07 21:56:51 +03:00
parent 2277274a94
commit cd88ee82f2
4 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ trigger_operations: ["install", "upgrade", "remove"]
target_type: "path"
targets: ["etc/dbus-1/system.d/*.conf", "usr/share/dbus-1/system.d/*.conf", "usr/share/dbus-1/system-services/*.service"]
depends: ["dbus"]
run: "dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig"
run: "/usr/sbin/dbus-reload"