Avoid rare, but annoying cases of the C services starting before
opensrf-settings as completed its login to ejabberd.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
if [ -n "$OSRF" ]; then
$OSRF PATH=$PATH:/openils/bin \
- /openils/bin/osrf_control --localhost --start-all > /dev/null
+ /openils/bin/osrf_control --localhost \
+ --start-all --settings-startup-pause 5 > /dev/null
else
PATH=$PATH:/openils/bin \
- /openils/bin/osrf_control --localhost --start-all > /dev/null
+ /openils/bin/osrf_control --localhost
+ --settings-startup-pause 5 --start-all > /dev/null
fi
# give services a chance to start up