Path never fuckin works

This commit is contained in:
niten 2023-10-11 19:57:08 -07:00
parent 189ab0c1e4
commit e0d5de32cd
1 changed files with 1 additions and 2 deletions

View File

@ -234,9 +234,8 @@ in {
services = let services = let
solrJob = params: { solrJob = params: {
requires = [ "dovecot2.service" ]; requires = [ "dovecot2.service" ];
path = with pkgs; [ curl ];
serviceConfig = { serviceConfig = {
ExecStart = "curl http://${cfg.solr.host}:${ ExecStart = "${pkgs.curl}/bin/curl http://${cfg.solr.host}:${
toString cfg.solr.port toString cfg.solr.port
}/solr/dovecot/update?${params}"; }/solr/dovecot/update?${params}";
PrivateDevices = true; PrivateDevices = true;