[arch-dev-public] Hooks!

Christian Hesse list at eworm.de
Mon May 2 10:20:31 UTC 2016

Massimiliano Torromeo <massimiliano.torromeo at gmail.com> on Fri, 2016/04/29
> 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.
> Others distros do this automatically, even the ones that do not have the
> bad habit of restarting the services for you without asking. Eg: I never
> had to do daemon-reload on CentOS 7.
> As far as I understand it shouldn't have any unintended side effects (and I
> certainly never experienced one). Thoughts?

Ah, and another one to reload udev rules:

Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
Target = usr/lib/udev/rules.d/*

Description = Reload udev rule files
When = PostTransaction
Exec = /usr/bin/udevadm control --reload-rules
Depends = systemd
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20160502/4429b37e/attachment.asc>

More information about the arch-dev-public mailing list