mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
590f18a27c
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
3 lines
28 B
Plaintext
3 lines
28 B
Plaintext
/macros.systemd
|
|
/systemd.pc
|