Open josuf107 opened 7 years ago
I don't anticipate any code changes for this issue. It's just for administration.
http://0pointer.de/public/systemd-man/systemd.service.html might be useful, especially the Restart=all option. Alse see http://0pointer.de/blog/projects/systemd-for-admins-3.html for an example of writing a systemd unit file.
Occasionally the bot stops functioning, either because the server is restarted for maintenance or because the actual program stops running on its own for reasons I haven't ascertained yet (haven't found anything in the error logs). I want the bot to start running when the server is started up and to be restarted if it goes down for any reason.