]> wagnertech.de Git - projects.git/blobdiff - debian/verleihnix.postinst
phpide-d10
[projects.git] / debian / verleihnix.postinst
index 4f72e566e5a7761ab27c955e03d958bd66861626..9f30658c141072876154bc26b4c1e90b668e5aec 100755 (executable)
@@ -37,6 +37,11 @@ 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
+       echo "verleihnix-apache2 configration enabled"
+fi
 $sctl reload apache2