Lucas Rolff Wrote: ------------------------------------------------------- > There's nothing wrong with testing the configuration before starting > the web server.
Sure, but what effect does it have in the .service file? > The config is tested during restart, by the ExecStartPre. If you But only after the old instance is stopped.. so again, what's the purpose? > modify a config and you want to restart, you should execute nginx -t > prior to restarting your service - but generally you'd want to use > nginx -s reload as much as possible. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282654,282656#msg-282656 _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
