osrf_control does not have restart_all
authorJason Etheridge <jason@esilibrary.com>
Mon, 7 Oct 2013 15:54:16 +0000 (11:54 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 7 Oct 2013 15:54:16 +0000 (11:54 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
installer/wheezy/eg_wheezy_installer.sh

index 8b059f9..63d62bb 100755 (executable)
@@ -303,7 +303,8 @@ fi
 OSRF_COMMAND='
 export LD_LIBRARY_PATH=/openils/lib:/usr/local/lib:/usr/local/lib/dbd:$LD_LIBRARY_PATH \
 && export PATH=/openils/bin:$PATH \
-&& /openils/bin/osrf_control --localhost --restart_all  && sleep 3 \
+&& OSRF_HOSTNAME="dns_hack" /openils/bin/osrf_control --localhost --stop_all  && sleep 3 \
+&& OSRF_HOSTNAME="dns_hack" /openils/bin/osrf_control --localhost --start_all  && sleep 3 \
 && /openils/bin/autogen.sh /openils/conf/opensrf_core.xml \
 && echo Finis;
 '