From eb0139c8edc492a2ee316fd0624ba1069390bf42 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 01 Jul 2009 11:35:07 +0000
Subject: [PATCH] Follow up to the fix for issue 4081 (start-ds and stop-ds fails on Mac OS X with latest JVM).
---
opends/resource/bin/start-ds | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/resource/bin/start-ds b/opends/resource/bin/start-ds
index 5358b76..ee6b0e4 100755
--- a/opends/resource/bin/start-ds
+++ b/opends/resource/bin/start-ds
@@ -91,7 +91,7 @@
# means that the server is already running and we shouldn't try to start it.
# An exit code of anything else means that we're not trying to start the server
# and we can just exit with that exit code.
-${OPENDS_JAVA_BIN} ${SCRIPT_NAME_ARG} org.opends.server.core.DirectoryServer \
+${OPENDS_JAVA_BIN} -client ${SCRIPT_NAME_ARG} org.opends.server.core.DirectoryServer \
--configClass org.opends.server.extensions.ConfigFileHandler \
--configFile "${CONFIG_FILE}" --checkStartability "${@}"
EC=${?}
@@ -108,17 +108,17 @@
echo $! > "${PID_FILE}"
if test ${EC} -eq 99
then
- "${OPENDS_JAVA_BIN}" org.opends.server.tools.WaitForFileDelete \
+ "${OPENDS_JAVA_BIN}" -client org.opends.server.tools.WaitForFileDelete \
--targetFile "${STARTING_FILE}" --logFile "${LOG_FILE}" "${@}"
else
- "${OPENDS_JAVA_BIN}" org.opends.server.tools.WaitForFileDelete \
+ "${OPENDS_JAVA_BIN}" -client org.opends.server.tools.WaitForFileDelete \
--targetFile "${STARTING_FILE}" "${@}"
fi
EC=${?}
if test ${EC} -eq 0
then
# An exit code of 98 means that the server is already running.
- ${OPENDS_JAVA_BIN} ${SCRIPT_NAME_ARG} org.opends.server.core.DirectoryServer \
+ ${OPENDS_JAVA_BIN} -client ${SCRIPT_NAME_ARG} org.opends.server.core.DirectoryServer \
--configClass org.opends.server.extensions.ConfigFileHandler \
--configFile "${CONFIG_FILE}" --checkStartability > /dev/null 2>&1
EC=${?}
--
Gitblit v1.10.0