Welcome! Log In Create A New Profile

Advanced

Re: nginx systemd reload service command skips configtest

September 27, 2015 12:28PM
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 <me@myconan.net> wrote:
>
>> On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson <nginx-forum@nginx.us>
>> 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 configuration file nginx is killed but not
>> > started due to the faulty configuration.
>
> Pretty sure the original process won't be stopped in case of new faulty
> configuration when it gets a SIGHUP or SIGUSR2...
>
> (Unless systemd doing something else. I only tested by manually sending
> the signal to master process)
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx systemd reload service command skips configtest

Per Hansson September 26, 2015 05:03PM

Re: nginx systemd reload service command skips configtest

chris-breda September 27, 2015 11:08AM

Re: nginx systemd reload service command skips configtest

nanaya September 27, 2015 11:22AM

Re: nginx systemd reload service command skips configtest

chris-breda September 27, 2015 12:28PM

Re: nginx systemd reload service command skips configtest

Maxim Dounin September 28, 2015 12:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready