nixpkgs/nixos/modules
Philipp Kern 1db74d1150 nixos/spamassassin: Fix network requirement on boot
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.
2021-02-11 10:09:45 +01:00
..
config treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
hardware treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
i18n/input-method fcitx5: update doc 2021-01-24 02:10:23 +01:00
installer lib: Clean up how linux and gcc config is specified 2021-01-23 10:01:28 -05:00
misc nixos/dysnomia nixos/disnix: Drop modules 2021-01-27 11:27:09 +01:00
profiles qemu-guest: remove security.rngd setting 2021-01-27 18:27:34 +01:00
programs Merge pull request #101796 from luc65r/pkg/tilp2 2021-01-25 01:11:50 +01:00
security Merge pull request #106857 from m1cr0man/master 2021-01-27 17:52:16 +01:00
services nixos/spamassassin: Fix network requirement on boot 2021-02-11 10:09:45 +01:00
system Merge pull request #110803 from Ericson2314/fix-nixos-misc-linux-config 2021-01-25 13:39:20 -05:00
tasks Merge pull request #100155 from primeos/nixos-add-fqdn-option 2021-01-25 16:45:45 +01:00
testing nixos/tests: only apply qemu parameters if the options are defined 2020-10-25 13:42:01 +01:00
virtualisation treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
module-list.nix nixos/hledger-web: init module and test 2021-01-28 15:29:53 +01:00
rename.nix frab: remove package 2020-12-10 22:24:11 +01:00