Skip to content

Commit

Permalink
Make sure the agent is restarted on update
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Hakim committed May 22, 2014
1 parent 1ba15ab commit 320acc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/datadog-agent-base-rpm/posttrans
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ getent group dd-agent >/dev/null || groupadd -r dd-agent
getent passwd dd-agent >/dev/null || \
useradd -r -M -g dd-agent -d /usr/share/datadog/agent -s /bin/sh \
-c "Datadog Agent" dd-agent
/etc/init.d/datadog-agent restart
exit 0

0 comments on commit 320acc0

Please sign in to comment.