summaryrefslogtreecommitdiff
path: root/src/core/macros.systemd.in
AgeCommit message (Collapse)Author
2013-03-11Move udevadm to rootbindirMichael Biebl
The udevadm utility is needed during early boot, so move it to rootbindir to support split-/usr configurations.
2012-11-16rpm: udevadm is actually in bindirZbigniew Jędrzejewski-Szmek
2012-11-16rpm: update RPM macros to include definitions for more drop-in directories ↵Lennart Poettering
and for reloading/rebuilding configuration More specifically this adds a number of macros that resolve to directories for udev rules, hwdb entries, tmpfiles and sysctl. Thsi also includes three new macros for rebuilding the hwbd/catalog index when a package drops in new files
2012-09-13rpm: expose preset dir as rpm macro and in systemd.pcLennart Poettering
2012-06-21rpm: include RPM macro definition for .spec snippetsLennart 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