diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-04-29 19:07:53 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-29 19:50:01 +0300 |
| commit | b78d018b997d393d7626ddd886f24be4373d81ee (patch) | |
| tree | d31ec32c7a367d5cc21984ee51ba0660a3099bfa /res/debian | |
| parent | f383e58156f08af35adca078eea23bd4596c2e79 (diff) | |
deb-pkg: enable required apache modules
Diffstat (limited to 'res/debian')
| -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) |
