From 1121ecc70b4b851be58b72189f13fbe754a841bb Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Tue, 18 Apr 2006 15:39:34 +0000
Subject: [PATCH] performs service plc stop before uninstalling

---
 myplc.spec | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.47.0