mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
1db74d1150
sa-update currently runs as part of the pre-start script of spamd. The network is not guaranteed to be online at that point and even if we were to depend on that, it makes the bootup brittle, as there is a reliance on SpamAssassin's update server as a startup dependency on boot. Refactor the setup to move the pre-start script into its own unit. This allows to perform the setup task only once. Continuous updates are already done by sa-update.service triggered by sa-update.timer. Only run sa-update in case /var/lib/spamassassin is empty. While we are on it, let sa-update.service depend on the network being online. |
||
---|---|---|
.. | ||
clamsmtp.nix | ||
davmail.nix | ||
dkimproxy-out.nix | ||
dovecot.nix | ||
dspam.nix | ||
exim.nix | ||
mail.nix | ||
mailcatcher.nix | ||
mailhog.nix | ||
mailman.nix | ||
mailman.xml | ||
mlmmj.nix | ||
nullmailer.nix | ||
offlineimap.nix | ||
opendkim.nix | ||
opensmtpd.nix | ||
pfix-srsd.nix | ||
postfix.nix | ||
postgrey.nix | ||
postsrsd.nix | ||
roundcube.nix | ||
rspamd.nix | ||
rss2email.nix | ||
spamassassin.nix | ||
sympa.nix |