Re: nginx not removing stream socket

2016-07-04 Thread Anoop Alias
ok just found this - https://trac.nginx.org/nginx/ticket/753 So shall i use SIGTERM instead of SIGQUIT in the systemd unit file? On Mon, Jul 4, 2016 at 7:05 PM, Anoop Alias wrote: > Hi, > > On CentOS7 . nginx is not removing the stream socket on shutdown > causing restarts to fail unless the soc

nginx not removing stream socket

2016-07-04 Thread Anoop Alias
Hi, On CentOS7 . nginx is not removing the stream socket on shutdown causing restarts to fail unless the socket file is manually removed. nginx process itself exit .But becase of the file not being removed nginx is unable to bind to the socket file on next start systemd unit file