.service ExecStartPre in example
Olaf van der Spek
nginx-forum at forum.nginx.org
Fri Jan 11 10:28:09 UTC 2019
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
More information about the nginx
mailing list