While investigating why my leaderboard was never saved, it appears when running as a service the process is simply killed and the exit_handler never runs.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
While investigating why my leaderboard was never saved, it appears when running as a service the process is simply killed and the exit_handler never runs.
https://github.com/SpudGunMan/meshing-around/blob/3273e57f0bb88e70ac5dd84999b5ce5578cdc61e/etc/mesh_bot.tmp#L16C10-L16C30
Replacing the ExecStop line with
KillSignal=SIGINTallowed the handler to run, but there may be more preferable ways to achieve this.Thank you!
Thanks for the quick fix! The bot has been great so far.