diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile index 838551792058..17781b6861fe 100644 --- a/net-mgmt/telegraf/Makefile +++ b/net-mgmt/telegraf/Makefile @@ -3,7 +3,7 @@ PORTNAME= telegraf DISTVERSION= 1.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MAINTAINER= girgen@FreeBSD.org diff --git a/net-mgmt/telegraf/files/telegraf.in b/net-mgmt/telegraf/files/telegraf.in index c54dcbf6ac2b..897b6a969561 100644 --- a/net-mgmt/telegraf/files/telegraf.in +++ b/net-mgmt/telegraf/files/telegraf.in @@ -32,6 +32,7 @@ start_precmd=telegraf_prestart pidfile="/var/run/${name}.pid" command=/usr/sbin/daemon command_args="-crP ${pidfile} %%PREFIX%%/bin/${name} ${telegraf_flags} -config=${telegraf_conf} >> /var/log/telegraf.log 2>&1" +extra_commands="reload" telegraf_prestart() { # Have to empty rc_flags so they don't get passed to daemon(8)