summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/git.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-06 20:07:22 +0100
committerlassulus <lassulus@lassul.us>2018-12-06 20:07:22 +0100
commit43be8e6bb38ea99ed489a8b6633ebb33b96b6282 (patch)
treecf95adf8c8c4fa45482dfd5d0c1127fcf4816976 /krebs/3modules/git.nix
parentd04c6be43d5c63f98a0c89aad512f19f1ffa6329 (diff)
git: set correct owner on /tmp/cgit
Diffstat (limited to 'krebs/3modules/git.nix')
-rw-r--r--krebs/3modules/git.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix
index f6b4e3c69..895d9b3b6 100644
--- a/krebs/3modules/git.nix
+++ b/krebs/3modules/git.nix
@@ -427,7 +427,7 @@ let
system.activationScripts.cgit = ''
mkdir -m 0770 -p ${cfg.cgit.settings.cache-root}
chmod 0770 ${cfg.cgit.settings.cache-root}
- chown ${toString cfg.cgit.fcgiwrap.user.uid}:${toString cfg.cgit.fcgiwrap.group.gid} ${cfg.cgit.settings.cache-root}
+ chown ${toString cfg.cgit.fcgiwrap.user.name}:${toString cfg.cgit.fcgiwrap.group.name} ${cfg.cgit.settings.cache-root}
'';
services.nginx.virtualHosts.cgit = {