2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-04 17:28:18 +00:00

Update rcons, so that it detects conserver

Conflicts:
	xCAT-client/bin/rcons
This commit is contained in:
2017-01-20 11:17:23 +00:00
committed by Jarrod Johnson
parent 81debd4c6a
commit 8e08b70f65

View File

@@ -73,7 +73,7 @@ fi
if [ $USE_CONFLUENT == "1" ] && ([ -x "/opt/confluent/bin/confetty" ] || [ -x "/usr/bin/confetty" ] || [ -x "/usr/local/bin/confetty" ]); then
# use confluent, make sure conserver is not also running
CONSERVER_RC=`service conserver status >& /dev/null; echo $?`
CONSERVER_RC=`pidof conserver >> /dev/null; echo $?`
if [[ ${CONSERVER_RC} == 0 ]]; then
echo "Error: consoleservice is set to 'confluent' but conserver is running. Stop conserver, run makeconfluentcfg, and retry..."
exit 1