hedgedoc: ensure upload directory exists
Upload directory is not created when uploading, but will fail silently. Ensure the upload directory is created.
This commit is contained in:
@@ -1027,6 +1027,7 @@ in
|
||||
${pkgs.envsubst}/bin/envsubst \
|
||||
-o ${cfg.workDir}/config.json \
|
||||
-i ${prettyJSON cfg.configuration}
|
||||
mkdir -p ${cfg.configuration.uploadsPath}
|
||||
'';
|
||||
serviceConfig = {
|
||||
WorkingDirectory = cfg.workDir;
|
||||
|
||||
Reference in New Issue
Block a user