From 60b0db0e08197b9fd773a417ed96000841a905a5 Mon Sep 17 00:00:00 2001 From: Markus Mueller Date: Sat, 14 Oct 2017 20:58:02 +0000 Subject: gitlab: link tmp/ directory to writable path --- nixos/modules/services/misc/gitlab.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos') diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 38c73a13de9d..14c184c3d685 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -581,6 +581,7 @@ in { mkdir -p ${cfg.statePath}/{log,uploads} ln -sf ${cfg.statePath}/log /run/gitlab/log ln -sf ${cfg.statePath}/uploads /run/gitlab/uploads + ln -sf ${cfg.statePath}/tmp /run/gitlab/tmp chown -R ${cfg.user}:${cfg.group} /run/gitlab # Prepare home directory -- cgit 1.4.1