mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2024-12-17 20:34:44 +00:00
send stdout/stderr to syslog
Signed-off-by: Mike <gavrikster@gmail.com>
This commit is contained in:
parent
7259eec41c
commit
e5891830e8
@ -56,7 +56,8 @@ postgres_exporter_data_source_name="postgresql://${postgres_exporter_pg_user}:${
|
||||
pidfile=/var/run/postgres_exporter.pid
|
||||
command="/usr/sbin/daemon"
|
||||
procname="/usr/local/bin/postgres_exporter"
|
||||
command_args="-p ${pidfile} /usr/bin/env DATA_SOURCE_NAME="${postgres_exporter_data_source_name}" ${procname} \
|
||||
command_args="-f -p ${pidfile} -T ${name} \
|
||||
/usr/bin/env DATA_SOURCE_NAME="${postgres_exporter_data_source_name}" ${procname} \
|
||||
--web.listen-address=${postgres_exporter_listen_address} \
|
||||
${postgres_exporter_args}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user