18 lines
348 B
SYSTEMD
18 lines
348 B
SYSTEMD
|
[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
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=vector
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|