Re: nginx systemd reload service command skips configtest

2015-09-28 Thread Maxim Dounin
Hello! On Sat, Sep 26, 2015 at 05:03:15PM -0400, Per Hansson wrote: > Hi, the "nginx.service" file shipped with systemd rpm's both in nginx's > stable repository and epel for CentOS7 / RHEL7 do not perform a "configtest" > when "systemctl reload nginx" is issued. > So if there is an error in the

Re: nginx systemd reload service command skips configtest

2015-09-27 Thread Christ-Jan Wijtmans
i can confirm systemd will stop nginx. Live long and prosper, Christ-Jan Wijtmans https://github.com/cjwijtmans http://facebook.com/cj.wijtmans http://twitter.com/cjwijtmans On Sun, Sep 27, 2015 at 5:20 PM, nanaya wrote: > >> On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson >> wrote: >> > Hi, th

Re: nginx systemd reload service command skips configtest

2015-09-27 Thread nanaya
> On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson > wrote: > > Hi, the "nginx.service" file shipped with systemd rpm's both in nginx's > > stable repository and epel for CentOS7 / RHEL7 do not perform a "configtest" > > when "systemctl reload nginx" is issued. > > So if there is an error in the con

Re: nginx systemd reload service command skips configtest

2015-09-27 Thread Christ-Jan Wijtmans
I support this thought. Live long and prosper, Christ-Jan Wijtmans https://github.com/cjwijtmans http://facebook.com/cj.wijtmans http://twitter.com/cjwijtmans On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson wrote: > Hi, the "nginx.service" file shipped with systemd rpm's both in nginx's > stable

nginx systemd reload service command skips configtest

2015-09-26 Thread Per Hansson
Hi, the "nginx.service" file shipped with systemd rpm's both in nginx's stable repository and epel for CentOS7 / RHEL7 do not perform a "configtest" when "systemctl reload nginx" is issued. So if there is an error in the configuration file nginx is killed but not started due to the faulty configura