at start); do we need checkconfig during start at all? It's pointless with
proper config (normal situation, only makes start slower), and start itself
would fail on error (no real gain here). I'd go for checkconfig before
restart only for all services. RFC
Changed files:
apache.init -> 1.69
return
fi
- checkconfig
+ [ "$1" -eq 0 ] || checkconfig
msg_starting "$SVC_NAME"
daemon --pidfile /var/run/httpd.pid /usr/sbin/httpd.${HTTPD_MPM} $CFG $HTTPD_OPTS
RETVAL=$?
restart)
checkconfig
stop
- start
+ start 0
;;
try-restart)
condrestart 0