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

neil_a_wilson
25.55.2006 cff43fc7f41e92c215f656b1e4b7f2f711532959
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
commitcff43fc7f41e92c215f656b1e4b7f2f711532959
tree 94ee6a9ec3d0c91ae66bdc67acdced326943cc17 tree | zip | gz
parent f2103f466892df823201ed457d0c73a8dd3ddfc0 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).
22 files modified
4 files added
1908 ■■■■■ changed files
opends/resource/bin/_client-script.sh 97 ●●●●● diff | view | raw | blame | history
opends/resource/bin/_server-script.sh 99 ●●●●● diff | view | raw | blame | history
opends/resource/bin/backup.sh 51 ●●●● diff | view | raw | blame | history
opends/resource/bin/configure-ds.sh 51 ●●●● diff | view | raw | blame | history
opends/resource/bin/encode-password.sh 51 ●●●● diff | view | raw | blame | history
opends/resource/bin/export-ldif.sh 51 ●●●● diff | view | raw | blame | history
opends/resource/bin/import-ldif.sh 50 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapcompare.sh 49 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapdelete.sh 49 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapmodify.sh 50 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldappasswordmodify.sh 49 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapsearch.sh 49 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldif-diff.sh 49 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldifmodify.sh 50 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldifsearch.sh 49 ●●●● diff | view | raw | blame | history
opends/resource/bin/makeldif.sh 52 ●●●● diff | view | raw | blame | history
opends/resource/bin/restore.sh 50 ●●●● diff | view | raw | blame | history
opends/resource/bin/start-ds.sh 82 ●●●●● diff | view | raw | blame | history
opends/resource/bin/stop-ds.sh 78 ●●●● diff | view | raw | blame | history
opends/resource/bin/verify-index.sh 51 ●●●● diff | view | raw | blame | history
opends/resource/setup.sh 64 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 92 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/CoreMessages.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ToolMessages.java 87 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/WaitForFileDelete.java 301 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/MultiOutputStream.java 195 ●●●●● diff | view | raw | blame | history