fix serviceconfig
This commit is contained in:
parent
7d125d54b2
commit
272ade9527
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,10 @@ in {
|
|||
enable = true;
|
||||
after = ["network-online.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
EnvironmentFile=config.sops.secrets.victoria-agent-env.path;
|
||||
script = "vmagent -promscrape.config=${configure_prom} -envflag.enable -remoteWrite.url=https://victoria-server.cloonar.com/api/v1/write";
|
||||
|
||||
serviceConfig = {
|
||||
EnvironmentFile=config.sops.secrets.victoria-agent-env.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue