eebcce027b05380c71e0952f8b2e8fbdd8c4af71
On Ubuntu 24.04 the SpamAssassin service unit is 'spamd', not 'spamassassin'. The old 'systemctl enable spamassassin' call exited with an error because the unit file does not exist, killing the install due to set -euo pipefail. Also moved the systemd-resolved stub listener disable to a dedicated step that runs before the package installation step. Previously it ran inside the PowerDNS config block — after apt had already tried (and failed) to restart pdns during post-install because systemd-resolved was still holding port 53.
Languages
TypeScript
93.8%
Shell
5.3%
CSS
0.6%
JavaScript
0.2%
HTML
0.1%