Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[install_script] Make dd-agent group of datadog.conf #3036

Merged
merged 1 commit into from
Dec 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packaging/datadog-agent/source/install_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ else
printf "\033[34m\n* Adding your HOSTNAME to the Agent configuration: /etc/dd-agent/datadog.conf\n\033[0m\n"
$sudo_cmd sh -c "sed -i 's/# hostname:.*/hostname: $dd_hostname/' /etc/dd-agent/datadog.conf"
fi
$sudo_cmd chown dd-agent:root /etc/dd-agent/datadog.conf
$sudo_cmd chown dd-agent:dd-agent /etc/dd-agent/datadog.conf
$sudo_cmd chmod 640 /etc/dd-agent/datadog.conf
fi

Expand Down