rougail/upgrade/post_upgrade/10-apache

14 lines
389 B
Bash
Executable File

#!/bin/sh
PACKAGES="apache2-mpm-prefork apache2-utils apache2.2-bin"
MODULES="alias auth_basic authn_file authz_host authz_user autoindex deflate dir env negotiation status"
if CreoleGet container_ip_reseau > /dev/null 2>&1
then
# Remove unwanted packages
CreoleRun "apt-eole remove ${PACKAGES}" reseau
# Enable required modules
CreoleRun "a2enmod ${MODULES}" reseau
fi