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

Basically, catch SIGINT, then stop listening to a socket/port. Finish all current requests and exit. The "watcher" parent process will restart the process with the new executable. Repeat for all other processes listening to the socket/port.


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

Search: