X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/cbabc7139cc6dce50483157c45f5aef80966c07c..refs/heads/master:/debian/verleihnix.postinst diff --git a/debian/verleihnix.postinst b/debian/verleihnix.postinst index 4f72e56..83dd7ca 100755 --- a/debian/verleihnix.postinst +++ b/debian/verleihnix.postinst @@ -37,6 +37,13 @@ fi # Apache configuration sctl=$(which systemctl) || sctl=$(which sysd2sysv) || (echo "install sysd2sysv"; exit 1) -a2ensite verleihnix +# activate verleihnix configuration +if ! test -e /etc/apache2/sites-enabled/verleihnix.conf +then + ln -s /etc/apache2/sites-available/verleihnix.conf /etc/apache2/sites-enabled + a2enmod rewrite + systemctl reload apache2 + echo "verleihnix-apache2 configration enabled" +fi $sctl reload apache2