Hi, There:
Is there any reason not to delete UNIX domain socket before bind?
It is bit inconvenient when :
1). debugging: previous debugging session quit prematurely without
erasing the UNIX domain socket, and the subsequent debugging session
only see "address already in use" error message, and have to delete the
socket, and launch debugger again.
2). Writing deploy script. We need to make sure UNIX domain sockets are
completely delete before launching Nginx; also care must be taken to
keep the script and config file in sync, which is sometimes bit annoying.
Thanks
Shuxin