mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
последнее изменение не учитывало завершение демона без скрипта
This commit is contained in:
parent
6c2811c2ec
commit
e00a97496f
@ -43,8 +43,8 @@ start()
|
|||||||
|
|
||||||
echo -n "Start $PROGRAM service: "
|
echo -n "Start $PROGRAM service: "
|
||||||
|
|
||||||
isrun
|
[ -f "$LOCKFILE" ] && sleep 1
|
||||||
if [ $? -eq 0 -o -f "$LOCKFILE" ]; then
|
if isrun; then
|
||||||
echo -n "already running "
|
echo -n "already running "
|
||||||
EXIT_STATUS=1
|
EXIT_STATUS=1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user