onlyoffice: allow ExecStartPre additions

This commit is contained in:
ppom 2023-02-09 00:56:08 +01:00
parent f2ab8c706d
commit 5a1ba62841

View File

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