Hi All,
I've been working on my BBS running on a Debian 9 box for the last few weeks and have been looking for a good way to start/stop the mis daemon. Since
newer distros are moving to systemd services rather than init.d scripts, I decided to take a crack at creating some. In addition to starting/stopping
mis, they also have a few other useful features:
- stale mis.bsy semaphore detection and cleanup.
- process start confirmation.
- proper exit codes to inform systemd of start/stop failures.
- PID verification.
- The option to do a 'kill -9' if mis takes too long to stop gracefully.
I've also created a set of similar scripts for MRC (multi relay chat) and
will get those polished up soon. You can find the download and instructions
on my blog:
https://vswitchzero.com/mystic-systemd
Hope others will find this useful.
Cheers,
Mike
--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: vswitchzero BBS (21:4/162)