Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r222 - trunk/sites/psi/scripts/admin/dmsd/dist

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r222 - trunk/sites/psi/scripts/admin/dmsd/dist


Chronological Thread 
  • From: "AFS account Stadler Hans Christian" <stadler_h AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r222 - trunk/sites/psi/scripts/admin/dmsd/dist
  • Date: Tue, 23 Sep 2008 13:49:02 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h
Date: Tue Sep 23 13:49:02 2008
New Revision: 222

Log:
Fixed loglevel setting bug on cyclic restart

Modified:
trunk/sites/psi/scripts/admin/dmsd/dist/run-dmsd.sh

Modified: trunk/sites/psi/scripts/admin/dmsd/dist/run-dmsd.sh
==============================================================================
--- trunk/sites/psi/scripts/admin/dmsd/dist/run-dmsd.sh (original)
+++ trunk/sites/psi/scripts/admin/dmsd/dist/run-dmsd.sh Tue Sep 23 13:49:02
2008
@@ -95,7 +95,7 @@
<&- >> ${LOG_FILE} 2>&1

(( (${?} != 1) || (${NUM_CYCLES_BEFORE_RESTART} < 0) )) && break
- { NEW_LOG_LEVEL=$(./loglevel-dmsd.sh get) &&
NEW_LOG_LEVEL=${NEW_LOG_LEVEL#logLevel=}; } ||
NEW_LOG_LEVEL=${DAEMON_LOG_LEVEL}
+ { NEW_LOG_LEVEL=$(./loglevel-dmsd.sh get 2>&1) &&
NEW_LOG_LEVEL=${NEW_LOG_LEVEL#logLevel=}; } ||
NEW_LOG_LEVEL=${DAEMON_LOG_LEVEL}
info "Scheduled stop, restarting"
done




  • [idok-commit] idok commit r222 - trunk/sites/psi/scripts/admin/dmsd/dist, AFS account Stadler Hans Christian, 09/23/2008

Archive powered by MHonArc 2.6.19.

Top of Page