nixos/wordpress: ensure that fonts already exists

Not a big deal in most of the cases because wordpress ensures that this
directory exists on its own, but with our twentig customizations that's
actually causing issues.

(cherry picked from commit 3285342bfe5f401dda84c13c834e73154928a61c)
This commit is contained in:
Maximilian Bosch 2022-11-07 10:04:01 +01:00
parent b8a57555e5
commit b40b8b92e2
No known key found for this signature in database
GPG Key ID: 9A6EEA275CA5BE0A

View File

@ -409,6 +409,8 @@ in
"d '${stateDir hostName}' 0750 ${user} ${webserver.group} - -" "d '${stateDir hostName}' 0750 ${user} ${webserver.group} - -"
"d '${cfg.uploadsDir}' 0750 ${user} ${webserver.group} - -" "d '${cfg.uploadsDir}' 0750 ${user} ${webserver.group} - -"
"Z '${cfg.uploadsDir}' 0750 ${user} ${webserver.group} - -" "Z '${cfg.uploadsDir}' 0750 ${user} ${webserver.group} - -"
"d '${cfg.fontsDir}' 0750 ${user} ${webserver.group} - -"
"Z '${cfg.fontsDir}' 0750 ${user} ${webserver.group} - -"
]) eachSite); ]) eachSite);
systemd.services = mkMerge [ systemd.services = mkMerge [