X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..862be5161d8f6b22ce2b62c9b6d030944a442fca:/debian/sipb-xen-www.postinst?ds=sidebyside

diff --git a/debian/sipb-xen-www.postinst b/debian/sipb-xen-www.postinst
index e4d526b..7f213a0 100755
--- a/debian/sipb-xen-www.postinst
+++ b/debian/sipb-xen-www.postinst
@@ -22,6 +22,12 @@ case "$1" in
     configure)
 	cd /var/www/sipb-xen-www
 	make clean && make all
+	chgrp -R sipb-xen .
+	chmod -R g+w .
+        
+        # Our init script proxies all requests Apache's, so Apache's
+        # running is just a NOP
+        update-rc.d -f apache2 remove
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)