Skip to content

Commit e589183

Browse files
authored
send stdout/stderr to syslog
Signed-off-by: Mike <[email protected]>
1 parent 7259eec commit e589183

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: postgres_exporter.rc

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ postgres_exporter_data_source_name="postgresql://${postgres_exporter_pg_user}:${
5656
pidfile=/var/run/postgres_exporter.pid
5757
command="/usr/sbin/daemon"
5858
procname="/usr/local/bin/postgres_exporter"
59-
command_args="-p ${pidfile} /usr/bin/env DATA_SOURCE_NAME="${postgres_exporter_data_source_name}" ${procname} \
59+
command_args="-f -p ${pidfile} -T ${name} \
60+
/usr/bin/env DATA_SOURCE_NAME="${postgres_exporter_data_source_name}" ${procname} \
6061
--web.listen-address=${postgres_exporter_listen_address} \
6162
${postgres_exporter_args}"
6263

0 commit comments

Comments
 (0)