Commit Graph

266592 Commits

Author SHA1 Message Date
Philipp Kern
624cc51bad nixos/spamassassin: Simplify services by using StateDirectory
Let systemd create SpamAssassin's state directory and populate it using the
regular updater service. Depend on the updater service on boot but do not
propagate failure to the main service.

spamd's commands to start and reload the service are still executed as
root but user/group are set to properly chown the state directory to the
target user. spamd drops privileges itself for its runner children but
preserves root on the main daemon (to listen and re-exec).
2021-02-11 10:09:45 +01:00
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
Daniël de Kok
2e474e88f7
Merge pull request #111082 from r-ryantm/auto-update/dua
dua: 2.10.9 -> 2.10.10
2021-01-29 08:58:31 +01:00
Daniël de Kok
33484a20ce
Merge pull request #111086 from otavio/upgrade/cargo-limit
cargo-limit: 0.0.4 -> 0.0.5
2021-01-29 08:54:59 +01:00
Daniël de Kok
8e002ac361
Merge pull request #111098 from r-ryantm/auto-update/gdu
gdu: 4.3.0 -> 4.3.2
2021-01-29 08:51:18 +01:00
Daniël de Kok
2abb2cd0c3
Merge pull request #111113 from r-ryantm/auto-update/janet
janet: 1.14.1 -> 1.14.2
2021-01-29 08:49:32 +01:00
sternenseemann
b4668b2699
ocamlPackages.terminal_size: init at 0.1.4 2021-01-29 08:33:49 +01:00
Jörg Thalheim
e5ce05cc1e
Merge pull request #67493 from clefru/make-disk-image 2021-01-29 07:18:50 +00:00
Mario Rodas
27c60f4959
Merge pull request #111071 from r-ryantm/auto-update/clojure-lsp
clojure-lsp: 2021.01.26-22.35.27 -> 2021.01.28-03.03.16
2021-01-28 23:48:57 -05:00
Mario Rodas
0d79e0edba
Merge pull request #111108 from r-ryantm/auto-update/grype
grype: 0.6.1 -> 0.7.0
2021-01-28 23:48:14 -05:00
Mario Rodas
f530f96dac
Merge pull request #110338 from r-ryantm/auto-update/cog
cog: 0.6.0 -> 0.8.0
2021-01-28 23:43:39 -05:00
Mario Rodas
7d02edf830
Merge pull request #111096 from r-ryantm/auto-update/frp
frp: 0.35.0 -> 0.35.1
2021-01-28 23:41:56 -05:00
Mario Rodas
08340f998c
Merge pull request #111090 from r-ryantm/auto-update/findomain
findomain: 2.1.5 -> 3.0.1
2021-01-28 23:41:10 -05:00
Mario Rodas
4610a9f20d
Merge pull request #110993 from r-ryantm/auto-update/python3.7-jsonmerge
python37Packages.jsonmerge: 1.7.0 -> 1.8.0
2021-01-28 23:39:33 -05:00
Mario Rodas
9c19775496
Merge pull request #111109 from r-ryantm/auto-update/helmfile
helmfile: 0.137.0 -> 0.138.1
2021-01-28 23:39:04 -05:00
Mario Rodas
d33d7d780c
Merge pull request #111085 from r-ryantm/auto-update/embree
embree: 3.12.1 -> 3.12.2
2021-01-28 23:38:18 -05:00
Mario Rodas
98cd7e6614
Merge pull request #111110 from r-ryantm/auto-update/helmsman
helmsman: 3.6.3 -> 3.6.4
2021-01-28 23:36:40 -05:00
Mario Rodas
88c04b293c
Merge pull request #111050 from r-ryantm/auto-update/aide
aide: 0.16.2 -> 0.17
2021-01-28 23:36:21 -05:00
Mario Rodas
7640836925
Merge pull request #110988 from r-ryantm/auto-update/python3.7-django-anymail
python37Packages.django-anymail: 8.1 -> 8.2
2021-01-28 23:35:16 -05:00
Mario Rodas
836bf060af
Merge pull request #111087 from r-ryantm/auto-update/emplace
emplace: 0.4.2 -> 0.4.3
2021-01-28 23:34:12 -05:00
Mario Rodas
224b0ed213
Merge pull request #111078 from r-ryantm/auto-update/dijo
dijo: 0.2.3 -> 0.2.5
2021-01-28 23:33:53 -05:00
R. RyanTM
185ed5e3d0 janet: 1.14.1 -> 1.14.2 2021-01-29 04:33:42 +00:00
Mario Rodas
3325d6a6f8
Merge pull request #111105 from r-ryantm/auto-update/gosec
gosec: 2.5.0 -> 2.6.1
2021-01-28 23:32:53 -05:00
Mario Rodas
fefd2a235a
Merge pull request #111101 from r-ryantm/auto-update/glab
glab: 1.13.1 -> 1.14.0
2021-01-28 23:32:30 -05:00
Mario Rodas
84322ac332
Merge pull request #111103 from r-ryantm/auto-update/golangci-lint
golangci-lint: 1.35.2 -> 1.36.0
2021-01-28 23:32:11 -05:00
Mario Rodas
5deecdb56a
Merge pull request #110972 from r-ryantm/auto-update/docker-compose
docker-compose: 1.28.0 -> 1.28.2
2021-01-28 23:31:40 -05:00
Mario Rodas
0c20f35715
Merge pull request #111073 from r-ryantm/auto-update/cmus
cmus: 2.9.0 -> 2.9.1
2021-01-28 23:30:15 -05:00
Mario Rodas
494b012b3f
Merge pull request #111025 from r-ryantm/auto-update/python3.7-amqp
python37Packages.amqp: 5.0.3 -> 5.0.5
2021-01-28 23:27:17 -05:00
Mario Rodas
962e8a14a8
Merge pull request #111053 from r-ryantm/auto-update/ameba
ameba: 0.13.3 -> 0.13.4
2021-01-28 23:26:18 -05:00
Mario Rodas
e815b59adf
Merge pull request #111038 from r-ryantm/auto-update/python3.7-cupy
python37Packages.cupy: 8.3.0 -> 8.4.0
2021-01-28 23:25:37 -05:00
Mario Rodas
762989b3f5
Merge pull request #111055 from r-ryantm/auto-update/argo
argo: 2.12.5 -> 2.12.6
2021-01-28 23:23:52 -05:00
Mario Rodas
bf17e5c900
Merge pull request #111051 from r-ryantm/auto-update/amass
amass: 3.11.1 -> 3.11.2
2021-01-28 23:22:46 -05:00
Mario Rodas
76d31346f7
Merge pull request #111075 from r-ryantm/auto-update/codeql
codeql: 2.4.1 -> 2.4.2
2021-01-28 23:22:19 -05:00
Mario Rodas
39d6a9f477
Merge pull request #111049 from r-ryantm/auto-update/act
act: 0.2.18 -> 0.2.19
2021-01-28 23:21:42 -05:00
Mario Rodas
adf172578f
Merge pull request #111066 from r-ryantm/auto-update/cargo-make
cargo-make: 0.32.10 -> 0.32.11
2021-01-28 23:21:07 -05:00
Mario Rodas
8cfcbef3bc
Merge pull request #111067 from r-ryantm/auto-update/cargo-outdated
cargo-outdated: 0.9.13 -> 0.9.14
2021-01-28 23:20:18 -05:00
Mario Rodas
26ea145761
Merge pull request #111068 from r-ryantm/auto-update/cargo-udeps
cargo-udeps: 0.1.16 -> 0.1.17
2021-01-28 23:20:01 -05:00
Mario Rodas
1ef18a0090
Merge pull request #111069 from r-ryantm/auto-update/chisel
chisel: 1.7.3 -> 1.7.4
2021-01-28 23:19:20 -05:00
Mario Rodas
88a572a3d4
Merge pull request #111080 from r-ryantm/auto-update/dnsproxy
dnsproxy: 0.33.8 -> 0.33.9
2021-01-28 23:18:36 -05:00
Mario Rodas
d5009cc5da
Merge pull request #111081 from r-ryantm/auto-update/dolt
dolt: 0.22.11 -> 0.22.12
2021-01-28 23:18:13 -05:00
Mario Rodas
32d793a441
Merge pull request #111077 from r-ryantm/auto-update/dapper
dapper: 0.5.4 -> 0.5.5
2021-01-28 23:17:27 -05:00
Mario Rodas
eb19bdde9d
Merge pull request #111094 from r-ryantm/auto-update/flyctl
flyctl: 0.0.161 -> 0.0.163
2021-01-28 23:16:21 -05:00
Mario Rodas
94652b6a27
Merge pull request #111095 from r-ryantm/auto-update/folly
folly: 2021.01.18.01 -> 2021.01.25.00
2021-01-28 23:15:56 -05:00
Mario Rodas
a9d541f155
Merge pull request #111093 from r-ryantm/auto-update/fly
fly: 6.7.3 -> 6.7.4
2021-01-28 23:15:22 -05:00
Mario Rodas
8431c611df
Merge pull request #111099 from r-ryantm/auto-update/gifski
gifski: 1.2.6 -> 1.3.1
2021-01-28 23:12:59 -05:00
Mario Rodas
7f682f5951
Merge pull request #111102 from r-ryantm/auto-update/go-chromecast
go-chromecast: 0.2.7 -> 0.2.8
2021-01-28 23:12:41 -05:00
R. RyanTM
3015caee00 helmsman: 3.6.3 -> 3.6.4 2021-01-29 04:07:19 +00:00
R. RyanTM
d136928c48 helmfile: 0.137.0 -> 0.138.1 2021-01-29 04:03:21 +00:00
R. RyanTM
7f6852462e autorevision: 1.21 -> 1.22 2021-01-29 04:57:40 +01:00
R. RyanTM
81310b1fd0 grype: 0.6.1 -> 0.7.0 2021-01-29 03:45:46 +00:00