From: Thierry Parmentelat Date: Tue, 18 Apr 2006 15:39:34 +0000 (+0000) Subject: performs service plc stop before uninstalling X-Git-Tag: myplc-0_4-rc1~62 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1121ecc70b4b851be58b72189f13fbe754a841bb;hp=93a436f3989574a61193dac251f8c5c7727ed702;p=myplc.git performs service plc stop before uninstalling --- diff --git a/myplc.spec b/myplc.spec index 8b22ada..f866858 100644 --- a/myplc.spec +++ b/myplc.spec @@ -78,6 +78,7 @@ chkconfig plc on %preun # 0 = erase, 1 = upgrade +service plc stop if [ $1 -eq 0 ] ; then chkconfig plc off chkconfig --del plc