performs service plc stop before uninstalling
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Apr 2006 15:39:34 +0000 (15:39 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Apr 2006 15:39:34 +0000 (15:39 +0000)
myplc.spec

index 8b22ada..f866858 100644 (file)
@@ -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