сервис должен останавливаться без наличия бинарника

This commit is contained in:
Maxim Nikulin 2011-03-21 14:16:55 +00:00
parent 5533bf9ba9
commit 8ac99af01e

View File

@ -17,8 +17,6 @@ LOCALSTATEDIR=/var/lock
BINDIR=/usr/bin
CRONFILE=/etc/cron.d/@CRONFILE@
[ -x $BINDIR/$PROGRAM ] || exit 0
CNFFILE=$SYSCONFDIR/config.xml
CONFFILE=$SYSCONFDIR/config.conf
PIDFILE=$PIDDIR/$PROGRAM.pid
@ -39,6 +37,7 @@ wait4done()
start()
{
[ -x $BINDIR/$PROGRAM ] || exit 0
local EXIT_STATUS
EXIT_STATUS=0