diff options
Diffstat (limited to 'systemd-hook')
-rw-r--r-- | systemd-hook | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/systemd-hook b/systemd-hook index 63f27e0bd58a..d64341fd3ca6 100644 --- a/systemd-hook +++ b/systemd-hook @@ -26,14 +26,27 @@ udevd_live() { op="$1"; shift case "$op" in + binfmt) + systemd_live + /usr/lib/systemd/systemd-binfmt + ;; catalog) /usr/bin/journalctl --update-catalog ;; + daemon-reload-system) + systemd_live + /usr/bin/systemctl --system daemon-reload + ;; + daemon-reload-user) + systemd_live + /usr/bin/systemctl kill --kill-whom='main' --signal='SIGHUP' 'user@*.service' + ;; hwdb) /usr/bin/systemd-hwdb --usr update ;; - update) - touch -c /usr + sysctl) + systemd_live + /usr/lib/systemd/systemd-sysctl ;; sysusers) /usr/bin/systemd-sysusers @@ -41,10 +54,8 @@ case "$op" in tmpfiles) /usr/bin/systemd-tmpfiles --create ;; - - daemon-reload) - systemd_live - /usr/bin/systemctl daemon-reload + update) + touch -c /usr ;; udev-reload) udevd_live @@ -54,14 +65,6 @@ case "$op" in /usr/bin/udevadm settle fi ;; - binfmt) - systemd_live - /usr/lib/systemd/systemd-binfmt - ;; - sysctl) - systemd_live - /usr/lib/systemd/systemd-sysctl - ;; # For use by other packages reload) |