Last night I followed the debian wiki and wrote a quick systemd unit
for magicka and last night I set it up and started magicka with it.
Can you think of any reason I shouldn't do that?
Looking at the commands in there, one of them uses a sighup to reload
the service if it ever comes to that. Does Magicka recognize a sighup signal to reload?
No, you'll have to start and stop magicka to reload config files. I suspect sending sighup to magicka will cause it to quit (not sure what
the default action of sighup is). and SystemD should restart it, so perhaps it will work? Not sure.
The default action for sighup is to reload the config.
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.
I just logged into your BBS, I think there might be something wrong with your systemd script.
It appears to be starting / restarting magicka everytime someone
connects.
I'm not sure what you can do with systemd, but for restart, the ideal would be SIGKILL and restart (for magicka that is).
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 66 |
Nodes: | 4 (0 / 4) |
Uptime: | 19:34:07 |
Calls: | 633 |
Calls today: | 7 |
Files: | 7,638 |
Messages: | 291,904 |