Settings

Theme

Unix Signals vs. Servers

blog.adamchalmers.com

2 points by adamch 3 years ago · 1 comment

Reader

projektfu 3 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection