-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
Bug report
Relevant telegraf.conf:
Conf not relevant.
System info:
Telegraf v1.3.4 (git: release-1.3 7bbd3da)
Amazon Linux latest
Steps to reproduce:
- Install or upgrade a telegraf rpm
- Wait
Expected behavior:
RPM to not automatically be switching on upon installation or upgrade, as it can break automated deploys or cases where the telegraf is being used under a non built in service manager i.e. supervisord.
Fedora suggest that you should not automatically switch on the service as this is insecure, instead you should rely on the init.d script via chkconfig to switch on the service. https://fedoraproject.org/wiki/EPEL:SysVInitScripts?rd=Packaging:SysVInitScript#Why_don.27t_we....
Actual behavior:
Service is restarted.
Additional info:
Problem appears to be in: https://github.com/influxdata/telegraf/blob/master/scripts/post-install.sh
I can submit a patch if you believe this is a legitimate bug.