diff options
| author | Rich Megginson <rmeggins@redhat.com> | 2008-08-27 21:24:48 +0000 |
|---|---|---|
| committer | Rich Megginson <rmeggins@redhat.com> | 2008-08-27 21:24:48 +0000 |
| commit | 27f282f02a60818e750902ecfd748ef3521f9539 (patch) | |
| tree | 12ccf926b4e1bbfad5627c8e275bcc0cb9602f3d /ldap/admin/src/scripts | |
| parent | 41b1a8ff9d38c1c2e76461ac7da3721260419fdf (diff) | |
| download | ds-27f282f02a60818e750902ecfd748ef3521f9539.tar.gz ds-27f282f02a60818e750902ecfd748ef3521f9539.tar.xz ds-27f282f02a60818e750902ecfd748ef3521f9539.zip | |
a couple of enhancements that make it easier to run the server under various debugging tools
Diffstat (limited to 'ldap/admin/src/scripts')
| -rwxr-xr-x | ldap/admin/src/scripts/template-start-slapd.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/admin/src/scripts/template-start-slapd.in b/ldap/admin/src/scripts/template-start-slapd.in index f2f70c5b..223d6ed1 100755 --- a/ldap/admin/src/scripts/template-start-slapd.in +++ b/ldap/admin/src/scripts/template-start-slapd.in @@ -47,7 +47,7 @@ fi loop_counter=1 # wait for 10 seconds for the start pid file to appear -max_count=10 +max_count=${STARTPID_TIME:-10} while test $loop_counter -le $max_count; do loop_counter=`expr $loop_counter + 1` if test ! -f $STARTPIDFILE ; then @@ -62,7 +62,7 @@ if test ! -f $STARTPIDFILE ; then fi loop_counter=1 # wait for 10 minutes (600 times 1 seconds) -max_count=600 +max_count=${PID_TIME:-600} while test $loop_counter -le $max_count; do loop_counter=`expr $loop_counter + 1` if test ! -f $PIDFILE ; then |
