pkg/victoriametrics: Fix up vmalert unit file
dustin/metricspi/pipeline/head This commit looks good
Details
dustin/metricspi/pipeline/head This commit looks good
Details
I really bundled the `vmalert.service` unit file. I obviously copied it from `vmagent.service` but didn't finish editing it.pull/2/head
parent
8099546ec8
commit
276bcce2a4
|
@ -6,14 +6,15 @@ After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
Type=exec
|
||||||
|
Environment=datasource_url=http://localhost:8428
|
||||||
|
Environment=notifier_url=http://localhost:9093
|
||||||
Environment=httpListenAddr=[::1]:8880
|
Environment=httpListenAddr=[::1]:8880
|
||||||
Environment=loggerDisableTimestamps=true
|
Environment=loggerDisableTimestamps=true
|
||||||
|
Environment=rule=/etc/victoria-metrics/rules/*.yml
|
||||||
EnvironmentFile=-/etc/sysconfig/vmalert
|
EnvironmentFile=-/etc/sysconfig/vmalert
|
||||||
ExecStart=/usr/bin/vmagent -enableTCP6 -envflag.enable
|
ExecStart=/usr/bin/vmalert -enableTCP6 -envflag.enable
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=victoriametrics
|
DynamicUser=yes
|
||||||
Group=victoriametrics
|
|
||||||
LimitNOFILE=1048576
|
|
||||||
|
|
||||||
CapabilityBoundingSet=
|
CapabilityBoundingSet=
|
||||||
DeviceAllow=
|
DeviceAllow=
|
||||||
|
|
Loading…
Reference in New Issue