diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-21 22:14:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-21 22:14:17 +0200 |
commit | 590f18a27c05524f5332819b9580afc327b95d84 (patch) | |
tree | 71161407dccc6e608734e64e3a522b815c899f0a /TODO | |
parent | 20747498c68575646fae88f4dd270fab219a25a6 (diff) |
rpm: include RPM macro definition for .spec snippets
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
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -39,10 +39,6 @@ Features: * systemctl: when stopping a service which has triggres and warning about it actually check the TriggeredBy= deps fields -* send SIGPWR to upower on resume so that it can send out its dbus signal for compat - -* vtconsole: don't override kernel cmdline utf8 override setting - * journal: hook up with EFI firmware log, new kmsg logic * falconindy: allow unescaped pathes for mount units, like "systmectl status /.mount"? |