Merge pull request #215407 from aopom/onlyoffice-mergeable-execstartpre

nixos/onlyoffice: allow ExecStartPre additions
This commit is contained in:
Sandro 2023-02-17 13:37:39 +01:00 committed by GitHub
commit 4fba4ceab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ in
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${cfg.package.fhs}/bin/onlyoffice-wrapper DocService/docservice /run/onlyoffice/config";
ExecStartPre = onlyoffice-prestart;
ExecStartPre = [ onlyoffice-prestart ];
Group = "onlyoffice";
Restart = "always";
RuntimeDirectory = "onlyoffice";