itamae/cookbooks/loki/files/lib/systemd/system/vector-loki.service

17 lines
343 B
SYSTEMD
Raw Permalink Normal View History

2024-04-03 05:40:30 +00:00
[Unit]
Description=Vector
Documentation=https://vector.dev
After=network-online.target
Requires=network-online.target
[Service]
ExecStart=/usr/bin/vector --config /etc/vector/loki.toml
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
StandardOutput=journal
StandardError=journal
SyslogIdentifier=vector
[Install]
WantedBy=multi-user.target