vector-bin: Switch to yaml config by default

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2024-03-20 22:15:51 +01:00
parent b08bdef720
commit bb82026188
4 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
VECTOR_USER="${VECTOR_USER:-vector}"
VECTOR_GROUP="${VECTOR_GROUP:-vector}"
VECTOR_CONFIG="${VECTOR_CONFIG:-/etc/vector/config.toml}"
VECTOR_CONFIG="${VECTOR_CONFIG:-/etc/vector/config.yaml}"
VECTOR_DATA_DIR="${VECTOR_DATA_DIR:-/var/lib/vector}"
VECTOR_LOG_DIR="${VECTOR_LOG_DIR:-/var/log/vector}"

View File

@@ -6,9 +6,9 @@ After=network.target
User=vector
Group=vector
ExecStartPre=/usr/bin/vector validate /etc/vector/config.toml
ExecStart=/usr/bin/vector --config /etc/vector/config.toml
ExecReload=/usr/bin/vector validate /etc/vector/config.toml
ExecStartPre=/usr/bin/vector validate /etc/vector/config.yaml
ExecStart=/usr/bin/vector --config /etc/vector/config.yaml
ExecReload=/usr/bin/vector validate /etc/vector/config.yaml
ExecReload=/bin/kill -HUP $MAINPID
Restart=no