2 ms·
normally when you start nginx it will start another process, detach it from your shell and then exit. This leaves the other process running. https://en.wikiped
by NegativeLatency 7y ago
normally when you start nginx it will start another process, detach it from your shell and then exit. This leaves the other process running.
https://en.wikipedia.org/wiki/Daemon_(computing) https://en.wikipedia.org/wiki/Daemon_(computing)
https://stackoverflow.com/questions/17954432/creating-a-daemon-in-linux/17955149#17955149 https://stackoverflow.com/questions/17954432/creating-a-daem...
When you don't let it fork you can easily hit control c to kill the server, make some config changes and then restart.
- seph-reed 7y agoAh. Thank you. I did not realize this was called forking.