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;
/usr/sbin/a2ensite eg.conf > /dev/null
# start apache2
-/etc/init.d/apache2 start
+service apache2 start
}
init_db()
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