DataDog/dd-agent — comment on commit e05262241bf0500dccc33e21174888a089155084
File: packaging/datadog-agent/rpm/postinst line 2
By alq666:

@fabrice we've just run in a case where the box is already running supervisord so a restart has some nasty effects, viz causing services to restart. What we could do is pretty a big message here if supervisorctl already has non-datadog services. Something like:

WARNING WARNING WARNING
*** We have detected that you already use supervisord.
*** We have modified the configuration to add our agent but we won't restart supervisord now.
*** If and when you are ready to restart supervisor, simply run as root (or sudo): service supervisord reload
***
*** Yours,
*** -- Your friends at Datadog
***