From: Chris Sharp Date: Sat, 23 Sep 2017 19:39:59 +0000 (-0400) Subject: Add start/stop in place of restart (opensrf) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ac7a72740e98e3ddd0d455e1630ae329f26f1f9a;p=contrib%2Fpines%2Feg-debian.git Add start/stop in place of restart (opensrf) --- diff --git a/files_for_build/postinst b/files_for_build/postinst index 2d9802c..c44c2ce 100755 --- a/files_for_build/postinst +++ b/files_for_build/postinst @@ -16,7 +16,7 @@ DEBUG() fixup_apache() { # stop apache2 -/etc/init.d/apache2 stop +service apache2 stop # keep the bad apache modules away --esi for m in deflate mpm_event; do a2dismod -f $m > /dev/null; done; @@ -35,7 +35,7 @@ chown opensrf:opensrf /var/lock/apache2 /usr/sbin/a2ensite eg.conf > /dev/null # start apache2 -/etc/init.d/apache2 start +service apache2 start } init_db() @@ -154,9 +154,10 @@ then configure_opensrf_xml populate_db fi +/etc/init.d/opensrf stop fix_openils_perms ldconfig -/etc/init.d/opensrf restart +/etc/init.d/opensrf start if [ $STANDALONE -eq 1 ] then run_autogen