performs service plc stop before uninstalling
[myplc.git] / 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