vector-bin: Switch to yaml config by default
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user