icingaweb2: Try to fix older SUSE httpd start

This commit is contained in:
Markus Frosch 2017-04-21 14:32:51 +02:00
parent f2899e0352
commit bc9c3272d2
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ elif [ -x /usr/share/apache2/get_module_list ]; then
sudo a2enmod rewrite
sudo a2enmod php5
# update apache config
/usr/share/apache2/get_includes
/usr/share/apache2/get_module_list
sudo /usr/sbin/apache2ctl -k start
elif [ -x /usr/sbin/httpd ]; then
sudo httpd -t