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

17 lines
343 B
SYSTEMD
Raw Normal View History

2020-10-31 07:53:32 +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/syslog.toml
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=vector
[Install]
WantedBy=multi-user.target