Server fails to start after Centos 7 update
httpd fails to start during boot
- !/bin/sh
- This is a NetworkManager dispatcher script to turn http on
- when the network is ready. MXM
- /etc/NetworkManager/dispatcher.d/22-httpd
- https://wiki.archlinux.org/index.php/NetworkManager#Network_services_with_NetworkManager_dispatcher
if [ "$2" = "up" ]; then
systemctl start httpd
fi
if [ "$2" = "down" ]; then
systemctl stop httpd
fi
exit 0