]> git.ipfire.org Git - thirdparty/systemd.git/commit
Add more file triggers to handle more aspects of systemd (#8090)
authorNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Tue, 6 Feb 2018 09:11:36 +0000 (04:11 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Feb 2018 09:11:36 +0000 (10:11 +0100)
commit32a00a9c097cf04ec2b0fcbf9b73eba188318424
tree808f6f5898f7b38f89910bcddaa7c47162093787
parent9207564756b8d895e3e3b6de04a6a5300944f84b
Add more file triggers to handle more aspects of systemd (#8090)

For quite a while now, there have been file triggers to handle
automatically setting up service units in upstream systemd. However,
most of the actions being done by these macros upon files can be set up
as RPM file triggers.

In fact, in Mageia, we had been doing this for most of these. In particular,
we have file triggers in place for sysusers, tmpfiles, hwdb, and the journal.

This change adds Lua versions of the original file triggers used in Mageia,
based on the existing Lua-based file triggers for service units.

In addition, we can also have useful file triggers for udev rules, sysctl
directives, and binfmt directives. These are based on the other existing
file triggers.
src/core/macros.systemd.in
src/core/triggers.systemd.in