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:
parent
92e2442544
commit
e78c2d05da
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue