We might also want to hardfail in case it's unable to properly restart under the limit with:
[Unit]
StartLimitIntervalSec=3m
StartLimitBurst=10
Thomas suggested we could also create a mailman systemd slice and add each service into it with limits so only those resources are affected, and have the cron job to run with systemd-run or update the charm to use systemd timers.
We might also want to hardfail in case it's unable to properly restart under the limit with: valSec= 3m
[Unit]
StartLimitInter
StartLimitBurst=10
Thomas suggested we could also create a mailman systemd slice and add each service into it with limits so only those resources are affected, and have the cron job to run with systemd-run or update the charm to use systemd timers.