Permalink
Browse files

Merge pull request #260 from davetaz/master

Updates to debian package builder for apache2.4
  • Loading branch information...
sebastfr committed Aug 8, 2014
2 parents 6d55ddc + 5d46256 commit c68f9f93c92d0d76b6c01dfa1f3a2e2a0420b98a
Showing with 3 additions and 1 deletion.
  1. +1 −1 debian/postinst.in
  2. +2 −0 debian/preinst.in
View
@@ -26,7 +26,7 @@ case "$1" in
# Why disable the site in configure?!
#rm -f /etc/apache2/sites-available/@PACKAGE@
#rm -f /etc/apache2/sites-enabled/@PACKAGE@
- echo "Include @PREFIX@/cfg/apache.conf" > /etc/apache2/sites-available/@PACKAGE@
+ echo "Include @PREFIX@/cfg/apache.conf" > /etc/apache2/sites-available/@PACKAGE@.conf
ln -fs @PREFIX@/bin/epindexer /etc/init.d/epindexer
update-rc.d epindexer defaults 99 99 > /dev/null
chown @INSTALL_USER@:www-data @PREFIX@ -R > /dev/null
View
@@ -24,6 +24,8 @@ case "$1" in
fi
adduser www-data @INSTALL_GROUP@ > /dev/null
adduser @INSTALL_USER@ www-data > /dev/null
+ a2dismod mpm_event > /dev/null
+ a2enmod mpm_prefork > /dev/null
;;
abort-upgrade)

0 comments on commit c68f9f9

Please sign in to comment.