Skip to content

Commit

Permalink
Update install_script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akshun4 authored Feb 17, 2020
1 parent a76cd77 commit 9b72465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/agent/install_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ else
fi
if [ $process_config ]; then
printf "\033[34m\n* Adding your Process Configuration to the Agent configuration: $CONF\n\033[0m\n"
$sudo_cmd sh -c "sed -i \"s/# process_config:.*/process_config: "$process_config"/\" $CONF"
$sudo_cmd sh -c "sed -i 's/# process_config:.*/process_config:\n enabled:"$process_config/" $CONF"
fi
$sudo_cmd chown dd-agent:dd-agent $CONF
$sudo_cmd chmod 640 $CONF
Expand Down

0 comments on commit 9b72465

Please sign in to comment.