From def2e0f04c0ee4bb89027adb193bb2832a6467dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 29 Oct 2013 07:44:04 +0100 Subject: [PATCH] - fix systemd macros usage - rel 2 --- postfix.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/postfix.spec b/postfix.spec index d5ff80e..d8a03fa 100644 --- a/postfix.spec +++ b/postfix.spec @@ -403,14 +403,14 @@ fi %{_bindir}/newaliases /sbin/chkconfig --add postfix %service postfix restart "Postfix Daemon" -%systemd_post +%systemd_post postfix.service %preun if [ "$1" = "0" ]; then %service postfix stop /sbin/chkconfig --del postfix fi -%systemd_preun +%systemd_preun postfix.service %postun /sbin/ldconfig @@ -421,6 +421,9 @@ if [ "$1" = "0" ]; then fi %systemd_reload +%triggerpostun -- postfix < 2:2.9.4-4 +%systemd_trigger postfix.service + %files %defattr(644,root,root,755) %doc html COMPATIBILITY HISTORY LICENSE RELEASE_NOTES* TLS_* -- 2.43.0