diff --git a/pastila/imap.nix b/pastila/imap.nix index 8449dbf..36a11f1 100644 --- a/pastila/imap.nix +++ b/pastila/imap.nix @@ -37,4 +37,12 @@ ]; group = config.services.dovecot2.group; }; + + # XXX *shrug* + services.cron = { + enable = true; + systemCronJobs = [ + "0 2 * * * root systemctl restart dovecot2.service" + ]; + }; } \ No newline at end of file