Added a sleep in the init script between statup and autogen
authorAndy Witter <awitter@georgialibraries.org>
Sun, 15 Jan 2017 05:31:18 +0000 (00:31 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Sun, 15 Jan 2017 05:31:18 +0000 (00:31 -0500)
templates/init/eg_opensrf

index e4f4202..e67ab04 100755 (executable)
@@ -36,6 +36,7 @@ start_opensrf() {
         sleep 3
        log_daemon_msg "Starting Evergreen OpenSRF:"
        su - opensrf -c /bin/bash -c "PERL5LIB=${PERL5LIB}:${OPENILS_BASE}/lib/perl5 PATH=${PATH}:${OPENILS_BASE}/bin osrf_control --start-all"
+       sleep 2
        if [ ! -e ${OPENILS_BASE}/var/web/eg_cache_hash ]
        then
                if dpkg -l | grep "evergreen-ils" | grep "ii"