Browse Source

Remove pid file when stopping service

master
Michael Schloh von Bennewitz 23 years ago committed by Ralf S. Engelschall
parent
commit
2bdea7eb64
  1. 2
      radius/radius.spec
  2. 1
      radius/rc.radius
  3. 1
      samhain/rc.samhain
  4. 2
      samhain/samhain.spec

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

2
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

Loading…
Cancel
Save