Update of /cvsroot/mon/mon/etc
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15875/etc
Modified Files:
S99mon
Log Message:
Fixing bug 1686296; the init script does not match where the RPM puts the binary, and 'restart' seems to work better for me this way.
Index: S99mon
===================================================================
RCS file: /cvsroot/mon/mon/etc/S99mon,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** S99mon 9 Jun 2004 05:18:06 -0000 1.1.1.1
--- S99mon 16 Jul 2007 23:39:20 -0000 1.2
***************
*** 22,26 ****
start)
echo -n "Starting mon daemon: "
! daemon /usr/lib/mon/mon -f -l -c /etc/mon/mon.cf
echo
touch /var/lock/subsys/mon
--- 22,26 ----
start)
echo -n "Starting mon daemon: "
! daemon /usr/sbin/mon -f -l -c /etc/mon/mon.cf
echo
touch /var/lock/subsys/mon
***************
*** 36,40 ****
;;
restart)
! killall -HUP mon
;;
*)
--- 36,41 ----
;;
restart)
! $0 stop
! $0 start
;;
*)
|