diff options
Diffstat (limited to 'res/debian/postinst')
| -rw-r--r-- | res/debian/postinst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/debian/postinst b/res/debian/postinst index 860dbf91..1f871f78 100644 --- a/res/debian/postinst +++ b/res/debian/postinst @@ -21,6 +21,17 @@ set -e case "$1" in configure) # call chmod, chown, etc. + + chown www-data:www-data /var/run/rhizi + + # configure apache - FIXME: impl undo + echo 'enabling apache proxy modules - warning: this will not be reverted during package uninstall' + /usr/sbin/a2enmod deflate + /usr/sbin/a2enmod proxy + /usr/sbin/a2enmod proxy_http + /usr/sbin/a2enmod proxy_wstunnel + /usr/sbin/a2enmod rewrite + ;; abort-upgrade|abort-remove|abort-deconfigure) |
