Unverified Commit ea532fe8 authored by Lassulus's avatar Lassulus Committed by GitHub
Browse files

Merge pull request #179168 from yayayayaka/revert-177536-hedgedoc-fix-statedirectory

parents eb0ee679 57617daa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1031,8 +1031,7 @@ in
      '';
      serviceConfig = {
        WorkingDirectory = cfg.workDir;
        StateDirectory = [ (builtins.replaceStrings [ "/var/lib/"  ] [ "" ] cfg.workDir) ];
        ReadWritePaths = [ cfg.configuration.uploadsPath ];
        StateDirectory = [ cfg.workDir cfg.configuration.uploadsPath ];
        ExecStart = "${cfg.package}/bin/hedgedoc";
        EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
        Environment = [