Hello, am I the only one tired of seeing this? # /etc/init.d/nginx restart * Caching service dependencies ... [ ok ] * Checking nginx' configuration ... nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful [ ok ] * Stopping nginx ... [ ok ] * Checking nginx' configuration ... nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful [ ok ] * Starting nginx ... [ ok ] adding -q to flags (nginx -c <foo> -t -q) will instead output this: # /etc/init.d/nginx restart * Caching service dependencies ... [ ok ] * Checking nginx' configuration ... [ ok ] * Stopping nginx ... [ ok ] * Checking nginx' configuration ... [ ok ] * Starting nginx ... [ ok ] I'm a bit puzzled by checking config twice on a restart; but I guess thats what reload is for. On the other hand, i see that at least init.d/sshd does this: if [ "${RC_CMD}" = "restart" ] ; then checkconfig || return 1 fi I wouldn't mind seeing this implemented as well. Thanks for listening!
fixed, thanks