diff --git a/prometheusd.sh b/prometheusd.sh index 5e6331e..3be2e8d 100755 --- a/prometheusd.sh +++ b/prometheusd.sh @@ -7,7 +7,7 @@ pid=/tmp/prometheus.pid case $1 in start) test -f $pid && echo "prometheus-exporter already running" - daemonize -c /tmp -p $pid -l $pid -u knot /usr/bin/knot-prometheus-exporter ${STATS} + daemonize -c /tmp -p $pid -l $pid -u knot /usr/local/bin/syslogize /usr/bin/knot-prometheus-exporter ${STATS} ;; stop) test -f $pid && cat $pid | xargs -r kill