[freeside-commits] branch FREESIDE_3_BRANCH updated. a8aa6fdd7c54ecf1be881ba0b37e1927bf1eb4ae
Jeremy Davis
jeremyd at 420.am
Wed Mar 4 08:37:57 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via a8aa6fdd7c54ecf1be881ba0b37e1927bf1eb4ae (commit)
from f064f10df4e98308428b553afcdc2fd278d15290 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a8aa6fdd7c54ecf1be881ba0b37e1927bf1eb4ae
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Wed Mar 4 10:58:32 2015 -0500
Ticket #33672 Apache starts before postgres
diff --git a/debian/postinst b/debian/postinst
index 67c0835..09f9dae 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -2,6 +2,7 @@
chown -R freeside /usr/local/etc/freeside
/usr/sbin/update-rc.d freeside defaults 23 01
+/sbin/insserv -d
rm -fr /usr/local/etc/freeside/masondata/*
exit 0
diff --git a/debian/rules b/debian/rules
index 3754f83..b501904 100755
--- a/debian/rules
+++ b/debian/rules
@@ -129,6 +129,7 @@ install-stamp: build-stamp
install -d $(FREESIDE_DOCUMENT_ROOT)
install -d $(TMP)-webui/usr/local/etc/freeside/
+ install -d $(TMP)-webui/etc/insserv/overrides/
install -d $(TMP)/usr/local/etc/freeside/
install -d $(FREESIDE_CACHE)/masondata #MASONDATA
# install -d $(TMP)-lib/usr/bin
@@ -172,6 +173,7 @@ install-stamp: build-stamp
# Create Apache configurations
install -d $(APACHE_CONF)
$(MAKE) -e DESTDIR=$(APACHE_CONF) install-apache
+ install -o root -m 755 init.d/insserv-override-apache2 $(TMP)-webui/etc/insserv/overrides/apache2
#Hack the build dir out of apache config
-----------------------------------------------------------------------
Summary of changes:
debian/postinst | 1 +
debian/rules | 2 ++
2 files changed, 3 insertions(+)
More information about the freeside-commits
mailing list