itamae/cookbooks/prometheus/files/etc/systemd/system/vector-prometheus.service

18 lines
350 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Vector
Documentation=https://vector.dev
After=network-online.target
Requires=network-online.target
[Service]
ExecStart=/usr/bin/vector --config /etc/vector/prometheus.toml
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
2023-02-12 12:50:01 +00:00
StandardOutput=journal
StandardError=journal
SyslogIdentifier=vector
[Install]
WantedBy=multi-user.target