From fa177937ab6ef095f25fbac5eb144176d217f08f Mon Sep 17 00:00:00 2001 From: Jos van Bakel Date: Sat, 21 Sep 2019 11:23:18 +0200 Subject: [PATCH] nixos/gitea: fix dump --- nixos/modules/services/misc/gitea.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix index 6fd4183bd6b4..afc2a71ec4ac 100644 --- a/nixos/modules/services/misc/gitea.nix +++ b/nixos/modules/services/misc/gitea.nix @@ -289,8 +289,9 @@ in runConfig = "${cfg.stateDir}/custom/conf/app.ini"; secretKey = "${cfg.stateDir}/custom/conf/secret_key"; in '' - # Make sure that the stateDir exists, as well as the conf dir in there + # Make sure that the stateDir exists, as well as the conf and log dir in there mkdir -p ${cfg.stateDir}/conf + mkdir -p ${cfg.stateDir}/log # copy custom configuration and generate a random secret key if needed ${optionalString (cfg.useWizard == false) ''