Hacker News new | past | comments | ask | show | jobs | submit login
Unix Signals vs. Servers (adamchalmers.com)
2 points by adamch on Feb 6, 2023 | hide | past | favorite | 1 comment



Not a terrible idea, it's definitely a common pattern to have an out of band control point like a TCP or Unix domain socket. DBus is also a common option. On Windows, you might use a named pipe or go the extra mile of using a management interface.

From the perspective of getting it done easily in an idiomatic way, the SIGHUP method is pretty good. Perhaps a "why not both?" situation.




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

Search: