Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can turn of daemonization in nginx.


Disabling daemonization allows nginx to be monitored initially and through conf reloads but not binary upgrades (e.g. nginx 1.5.1 -> nginx 1.5.2). The binary upgrade process forks the master process, which it 'orphans' from runit and reparents under pid 1.

oops, edit: pid 0 -> pid 1


pid 1, actually :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: