mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
сервис должен останавливаться без наличия бинарника
This commit is contained in:
parent
5533bf9ba9
commit
8ac99af01e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user