فهرست منبع

Remove pid file when stopping service

Michael Schloh von Bennewitz 23 سال پیش
والد
کامیت
2bdea7eb64
4فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 1 1
      radius/radius.spec
  2. 1 0
      radius/rc.radius
  3. 1 0
      samhain/rc.samhain
  4. 1 1
      samhain/samhain.spec

+ 1 - 1
radius/radius.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        Network
 License:      GPL
 Version:      1.1
-Release:      20030904
+Release:      20030909
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/radius/radius-%{version}.tar.gz

+ 1 - 0
radius/rc.radius

@@ -60,6 +60,7 @@
     rcService radius enable yes || exit 0
     rcService radius active no && exit 0
     @l_prefix@/sbin/radctl stop
+    rm $radius_pidfile
 
 %restart -u @l_susr@
     rcService radius enable yes || exit 0

+ 1 - 0
samhain/rc.samhain

@@ -47,6 +47,7 @@
     rcService samhain active no && exit 0
     samhain_signal TERM
     samhain_wait
+    rm $samhain_pidfile
 
 %restart -u @l_susr@
     rcService samhain enable yes || exit 0

+ 1 - 1
samhain/samhain.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        System
 License:      GPL
 Version:      1.7.11
-Release:      20030905
+Release:      20030909
 
 #   package options
 %option       with_fsl  yes