#1149239 dma.service unit ExecStart needs a -D

Package:
dma
Source:
dma
Description:
lightweight mail transport agent
Submitter:
Neil Wilson
Date:
2026-09-28 17:55:02 UTC
Severity:
normal
#1149239#5
Date:
2026-09-28 17:53:07 UTC
From:
To:
Dear Maintainer,

The current queue unit file (/usr/lib/systemd/system/dma.service) command goes into the background and is killed by systemd before it completes. It needs the -D option to prevent that.

It should read:

[Unit]
Description=Flush the dma mail transfer agent's queue
Documentation=man:dma(8)

[Service]
Type=oneshot
ExecStart=/usr/sbin/dma -Dq

ubuntu@srv-dyc64:~$ lsb_release -rd
Description: Ubuntu 26.04.1 LTS
Release: 26.04

ubuntu@srv-dyc64:~$ apt-cache policy dma
dma:
  Installed: 0.14-1
  Candidate: 0.14-1
  Version table:
 *** 0.14-1 500
        500 http://gb1-b.clouds.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
        100 /var/lib/dpkg/status