29 Apr
2016
29 Apr
'16
12:52 p.m.
Il giorno ven 29 apr 2016 alle ore 14:47 Massimiliano Torromeo < massimiliano.torromeo@gmail.com> 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