Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-15 | Isolation of udev code from remaining systemd | Anthony G. Basile | |
This commit is a first attempt to isolate the udev code from the remaining code base. It intentionally does not modify any files but purely delete files which, on a first examination, appear to not be needed. This is a sweeping commit which may easily have missed needed code. Files can be retrieved by doing a checkout from the previous commit: git checkout 2944f347d0 -- <filename> | |||
2012-09-13 | rpm: expose preset dir as rpm macro and in systemd.pc | 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 |