Skip to content
Snippets Groups Projects
Commit 4c4b7e07 authored by Marcel Huber's avatar Marcel Huber
Browse files

* passing waitcount to stopscript when using restart

parent bcf03f8b
No related branches found
No related tags found
No related merge requests found
......@@ -481,7 +481,7 @@ case "$locCommand" in
printf "%s %s: %s\n" "`date +%Y%m%d%H%M%S`" "${MYNAME}" "${outmsg}" >> ${ServerMsgLog}
# the keepwds.sh script will automatically restart the server when it was down
if [ $locProcOk -eq 1 ]; then
eval "${stop_script} ${cfg_dbgopt} >/dev/null 2>&1";
eval "${stop_script} ${cfg_dbgopt} -w ${cfg_waitcount} >/dev/null 2>&1";
if [ $? -ne 0 ]; then
# try hardkill to ensure it died
eval "${stop_script} ${cfg_dbgopt} -K >/dev/null 2>&1 || return=$rc_failed";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment