fix(ops/nixos/camden): Include /var/cache/nginx in nginx fix timer

This commit is contained in:
Vincent Ambo 2020-06-10 21:50:40 +00:00
parent d6c902de50
commit 35df1b94fc

View file

@ -190,7 +190,7 @@ in lib.fix(self: {
# anymore, all solution attempts have failed, so here's a # anymore, all solution attempts have failed, so here's a
# brute-force fix. # brute-force fix.
systemd.services.fix-nginx = { systemd.services.fix-nginx = {
script = "${nixpkgs.coreutils}/bin/chown -R nginx: /var/spool/nginx"; script = "${nixpkgs.coreutils}/bin/chown -R nginx: /var/spool/nginx /var/cache/nginx";
serviceConfig = { serviceConfig = {
User = "root"; User = "root";