Skip to content

Commit

Permalink
Merge pull request #498 from mastrolinux/supervisorctl-stop-fix
Browse files Browse the repository at this point in the history
Added file option to supervisorctl stop arg too
  • Loading branch information
clofresh committed May 13, 2013
2 parents b6b973d + 112c31d commit 76c5eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/datadog-agent-base-deb/datadog-agent.init
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ case "$1" in
supervised=$(supervisorctl -c $SUPERVISOR_FILE avail | grep datadog-agent | wc -l)
if [ $supervised -gt 1 ]; then
echo -n "(using supervisorctl) "
supervisorctl stop datadog-agent:*
supervisorctl -c $SUPERVISOR_FILE stop datadog-agent:*
else
# Should have been
echo -n "(warning: datadog-agent supervisor config is missing) "
Expand Down

0 comments on commit 76c5eb0

Please sign in to comment.