X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa.spec;h=41318d354480a732189726dd6a429780f3b66ac0;hp=8027d5c155f9146cae0863caa668f37041ae386f;hb=0e37e8101b03f6c9fde4bfcb4287d6f5c6aedb50;hpb=9de8e0494e18f04cca120755d19f0b724d9d65c9 diff --git a/sfa.spec b/sfa.spec index 8027d5c1..41318d35 100644 --- a/sfa.spec +++ b/sfa.spec @@ -198,6 +198,7 @@ rm -rf $RPM_BUILD_ROOT %post systemctl enable sfa-aggregate systemctl enable sfa-registry +true %preun if [ "$1" = 0 ] ; then @@ -206,6 +207,7 @@ if [ "$1" = 0 ] ; then systemctl is-active $service && systemctl stop $service done fi +true %postun if [ "$1" -ge "1" ] ; then @@ -213,6 +215,7 @@ if [ "$1" -ge "1" ] ; then systemctl is-active $service && systemctl restart $service done fi +true %changelog * Mon Jan 07 2019 Thierry - sfa-4.0-2