]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- fix systemd macros usage
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 29 Oct 2013 06:44:04 +0000 (07:44 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 29 Oct 2013 06:44:04 +0000 (07:44 +0100)
- rel 2

postfix.spec

index d5ff80e56cf22d00f344b1f1808b8e9c4527f583..d8a03fa11ebf6593dc24d2fb92e757d8e70b3421 100644 (file)
@@ -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_*
This page took 0.249112 seconds and 4 git commands to generate.