Server fails to start after Centos 7 update

From Cor ad Cor
Revision as of 09:40, 23 September 2017 by Mxmsj (talk | contribs)
Jump to navigation Jump to search


httpd fails to start during boot

  1. !/bin/sh
  2. This is a NetworkManager dispatcher script to turn http on
  3. when the network is ready. MXM
  4. /etc/NetworkManager/dispatcher.d/22-httpd
  5. 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