.service ExecStartPre in example

Olaf van der Spek nginx-forum at forum.nginx.org
Fri Jan 11 10:12:04 UTC 2019


What's the purpose of testing the configuration file in the systemd
example?
Just starting the server seems simpler.. and the test isn't run prior to a
restart request.


ExecStartPre=/usr/sbin/nginx -t

https://www.nginx.com/resources/wiki/start/topics/examples/systemd/

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282654,282654#msg-282654



More information about the nginx mailing list