Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-15 | Move daemon-reload from package %post scripts to file triggers | Zbigniew Jędrzejewski-Szmek | |
This uses new functionality added in rpm 4.13. Instead of doing one daemon-reload per packages, we do just one or two (When both installing and uninstalling packages, we do two. Unfortunately this also includes the common case of upgrades. When only installing or when only installing, we do just one.) New file triggers.systemd can be built, but the contents have to be copied into the rpm spec file by hand. Using %{load} does not seem to work. It can serve as documentation. | |||
2013-11-22 | build-sys: move more files from core/ to share/ that are generic enough | Lennart Poettering | |
2012-07-17 | execute: support syscall filtering using seccomp filters | Lennart Poettering | |
2012-06-21 | rpm: include RPM macro definition for .spec snippets | Lennart Poettering | |
Let's try to standardize a bit the RPM macros used for installing/uninstalling services. This only covers the non-SysV compat bits, since that tends to vary widely between the various distros. Usage: Add %{?systemd_requires} to the header of the spec file. And then: %post %systemd_post foobar.service %preun %systemd_preun foobar.service %postun %systemd_postun foobar.service And, instead of the latter, in case the service shall be restarted on updates: %postun %systemd_postun_restart foobar.service | |||
2012-04-13 | update .gitignore | Kay Sievers | |