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.
From the perspective of getting it done easily in an idiomatic way, the SIGHUP method is pretty good. Perhaps a "why not both?" situation.