The default action for sighup is to reload the config.
No, SIGHUP will only reload config if you write your program in such a
way to intercept the signal and act accordingly, which is probably usual
for most unix daemons. However when programming with signals, if you
don't write a signal handler and install it it has a default (SIGKILL you
can't though, but others you can). Ah I just googled it, the default
action is an abnormal termination - ie quit the program.
I'm not sure what you can do with systemd, but for restart, the ideal
would be SIGKILL and restart (for magicka that is).
I'm going to do the same for magichat but it's still running happily in gdb so I'll leave it alone for now.
Sounds good. I'm glad we got that one sorted, I would never have caught
it by myself as I don't have IPv6.
Andrew
--- MagickaBBS v0.13alpha (Linux/x86_64)
* Origin: HappyLand (21:1/126)