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

17 lines
347 B
SYSTEMD
Raw Permalink Normal View History

2023-03-04 06:24:53 +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/journald.toml
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
StandardOutput=journal
StandardError=journal
SyslogIdentifier=vector
[Install]
WantedBy=multi-user.target