toString for solr port
This commit is contained in:
parent
c5ef9fe497
commit
d2c164784f
|
@ -237,8 +237,9 @@ in {
|
||||||
path = with pkgs; [ curl ];
|
path = with pkgs; [ curl ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
ExecStart =
|
ExecStart = "curl http://${cfg.solr.host}:${
|
||||||
"curl http://${cfg.solr.host}:${cfg.solr.port}/solr/dovecot/update?${params}";
|
toString cfg.solr.port
|
||||||
|
}/solr/dovecot/update?${params}";
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PrivateMounts = true;
|
PrivateMounts = true;
|
||||||
|
@ -389,7 +390,9 @@ in {
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
fts = solr
|
fts = solr
|
||||||
fts_solr = url=http://${cfg.solr.host}:${cfg.solr.port}/solr/dovecot
|
fts_solr = url=http://${cfg.solr.host}:${
|
||||||
|
toString cfg.solr.port
|
||||||
|
}/solr/dovecot
|
||||||
}
|
}
|
||||||
|
|
||||||
mail_access_groups = ${cfg.mail-group}
|
mail_access_groups = ${cfg.mail-group}
|
||||||
|
|
Loading…
Reference in New Issue