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

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