nginx systemd reload service command skips configtest
cj.wijtmans at gmail.com
Sun Sep 27 16:27:18 UTC 2015
i can confirm systemd will stop nginx.
Live long and prosper,
On Sun, Sep 27, 2015 at 5:20 PM, nanaya <me at myconan.net> wrote:
>> On Sat, Sep 26, 2015 at 11:03 PM, Per Hansson <nginx-forum at nginx.us>
>> > 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 at nginx.org
More information about the nginx