mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
25.55.2006 accfaa1c0915810fc63008e313df3a968f21a210
refs
author neil_a_wilson <neil_a_wilson@localhost>
Wednesday, October 25, 2006 20:55 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Wednesday, October 25, 2006 20:55 +0200
commitaccfaa1c0915810fc63008e313df3a968f21a210
tree e225ae20c8ca22b691e11a56796186af27d58399 tree | zip | gz
parent 8e33290e2042f54ffa6393145cdb4997e502bb6c view | diff
Make several changes to administrative shell scripts provided with OpenDS.
All of these changes fall under the blanket of issue 882, but are also
associated with a number of individual sub-issues.

The changes include:

- Create new "_client-script.sh" and "_server-script.sh" shell scripts that
hold the majority of the logic required to launch the client-side and
server-side tools (Issue #873).

- Explicitly set the PATH, LD_LIBRARY_PATH, and LD_PRELOAD (and the 32-bit and
64-bit specific variants of LD_LIBRARY_PATH and LD_PRELOAD) to ensure better
security and more consistent behavior when invoking external commands
(Issue #607).

- Fix potential problems that could arise if either OpenDS or the Java runtime
are installed in a path that contains spaces (Issue #820).

- Update the start-ds.sh script so that it always creates a PID file, whether
running in the foreground or in the background (Issue #859).

- Update the start-ds.sh script so that when running in the background it will
not exit until it confirms that the server is actually running. It will also
display any messages written to standard output/standard error during
startup (Issue #590).

- Update the stop-ds.sh script so that it can either perform a local stop (via
kill with the TERM signal) or a remote stop (over LDAP using the shutdown
task). If the script is invoked with no arguments and there is a local PID
file present, then it will be a local stop via kill, and it will wait until
the server actually has stopped before exiting. Otherwise it will be a
remote stop over LDAP (Issue #871).
4 files added
22 files modified
1908 ■■■■■ changed files
opendj-sdk/opends/resource/bin/_client-script.sh 97 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/_server-script.sh 99 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/backup.sh 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/configure-ds.sh 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/encode-password.sh 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/export-ldif.sh 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/import-ldif.sh 50 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldapcompare.sh 49 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldapdelete.sh 49 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldapmodify.sh 50 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldappasswordmodify.sh 49 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldapsearch.sh 49 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldif-diff.sh 49 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldifmodify.sh 50 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/ldifsearch.sh 49 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/makeldif.sh 52 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/restore.sh 50 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/start-ds.sh 82 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/stop-ds.sh 78 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/bin/verify-index.sh 51 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/setup.sh 64 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/DirectoryServer.java 92 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/CoreMessages.java 12 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/ToolMessages.java 87 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/WaitForFileDelete.java 301 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/MultiOutputStream.java 195 ●●●●● diff | view | raw | blame | history