redirect stderr -> stdout in prometheus output
This commit is contained in:
parent
2d70c2a1d9
commit
6db0a7e992
@ -42,4 +42,4 @@ CMD (grep -qE '^prometheus:x:'"${UID}"':prometheus$' /etc/group || addgroup -g "
|
||||
(grep -qE '^prometheus:x:'"${UID}"':'"${GID}"':.*$' /etc/passwd || adduser -D -u "${UID}" -G prometheus prometheus) && \
|
||||
chmod 700 /prometheus && chown prometheus:prometheus /prometheus && \
|
||||
chown prometheus:prometheus /data && \
|
||||
su prometheus -c '/prometheus --config.file=/config/prometheus.yaml --storage.tsdb.path=/data/ '
|
||||
su prometheus -c '/prometheus --config.file=/config/prometheus.yaml --storage.tsdb.path=/data/' 2>&1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user