Remove systemd command and targets from BPM hook

This commit is contained in:
2025-05-10 11:22:19 +03:00
parent 66b0ae8192
commit 2277274a94
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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"