Merge pull request #172824 from helsinki-systems/fix/hedgedoc-fileupload

nixos/hedgedoc: Set StateDirectory to workDir and uploadsPath
main
Lassulus 2 years ago committed by GitHub
commit 8109d8ac35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      nixos/modules/services/web-apps/hedgedoc.nix

@ -1023,6 +1023,7 @@ in
'';
serviceConfig = {
WorkingDirectory = cfg.workDir;
StateDirectory = [ cfg.workDir cfg.configuration.uploadsPath ];
ExecStart = "${cfg.package}/bin/hedgedoc";
EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
Environment = [

Loading…
Cancel
Save