Project

General

Profile

« Previous | Next » 

Revision b1c00c4c

Added by Alexis Mousset over 7 years ago

Fixes #9986: Relay api conf is not enabled after install

View differences:

rudder-server-relay/debian/postinst
# Enable the conf-available entry if running Apache 2.4
if [ ${APACHE_VERSION} = 2.4 ]
then
[ ! -e /etc/apache2/conf-available/ncf-api-virtualenv.conf ] || a2enconf ncf-api-virtualenv
[ ! -e /etc/apache2/conf-available/relay-api.conf ] || a2enconf relay-api
fi
# Create inventory repositories and add rights to the apache user to

Also available in: Unified diff