remove envflag

This commit is contained in:
2023-08-19 09:06:20 +02:00
parent bd7f68b4a3
commit 64455b070a

View File

@@ -20,7 +20,7 @@ in {
enable = true; enable = true;
after = ["network-online.target"]; after = ["network-online.target"];
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
script = "vmagent -promscrape.config=${configure_prom} -envflag.enable -remoteWrite.url=http://victoria-server.cloonar.com:8428/api/v1/write"; script = "vmagent -promscrape.config=${configure_prom} -remoteWrite.url=http://victoria-server.cloonar.com:8428/api/v1/write";
serviceConfig = { serviceConfig = {
EnvironmentFile=config.sops.secrets.victoria-agent-env.path; EnvironmentFile=config.sops.secrets.victoria-agent-env.path;