Post by Colin Guthrie Post by Barry Scott
I think that for my backups to run for a user I will need to stop their
systemd user services.
Out of curiosity, why do you think that the process needs to be stopped
for the backups to run?
The process of concern are running fetchmail that is calling into dovecot.
If I do not stop dovecot the Mail dir will not be consistent.
If I do not stop the fetchmail process then dovecot will be called
and the backup can see an inconsistent state.
How do I know this? Becuase I created bad backups in the past.
systemd --user is great at running the fetchmail processes for
the sand boxed email users. I just need to figure out how to stop them
in a way that is "systemd" smart.