Il giorno ven 29 apr 2016 alle ore 14:47 Massimiliano Torromeo <
[email protected]> ha scritto:

> I was also wondering about a pacman hook ro run "systemctl daemon-reload"
> after systemd units installations/upgrades. This is something that was not
> done even in .install files but I don't know if there was a reason why.
>

I forgot to include the actual trigger. I've had this installed on some
systems for a while:

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
Target = usr/lib/systemd/system/*

[Action]
Description = Reload systemd unit files
When = PostTransaction
Exec = /usr/bin/systemctl --system daemon-reload
Depends = systemd

Reply via email to