rougail/upgrade/post_upgrade/10-apache

14 lines
389 B
Plaintext
Raw Normal View History

2019-11-23 08:17:35 +01:00
#!/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