-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I am using systemd timers to schedule backup runs. Mails sent after backup never arrive, presumably because:
- backup software invokes
mail mailinvokesdma(assendmail)dmadaemon()izes after writing the queue file, effectively exitingdmafrom the view ofmailmailand subsequently backup software exit- systemd sees the backup process exit and then kills the cgroup
dmais killed, the queue file stays in place and never gets delivered
I am not sure how to generically fix this. One option would be to have a systemd unit that gets triggered on a socket, running a dma -q. If this socket is active, then dma would terminate instead of trying to deliver itself. Of course this requires installing and activating a systemd unit, but I don't see how we could do it without.
Seeking comments.
Metadata
Metadata
Assignees
Labels
No labels