Skip to content

Commit 140e132

Browse files
committed
Updated to add description
1 parent 3631b18 commit 140e132

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init.d/codedeploy-agent

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ RETVAL=0
2222
[ -f /etc/profile ] && [ "`stat --format '%U %G' /etc/profile`" == "root root" ] && source /etc/profile
2323

2424
prog="codedeploy-agent"
25+
# Modify the following USER variable to run the codedeploy process as a non-root user
26+
# Note: You also need to chown /opt/codedeploy /var/log/aws
2527
USER=""
2628
AGENT_ROOT="/opt/codedeploy-agent/"
2729
INSTALLER="/opt/codedeploy-agent/bin/install"

0 commit comments

Comments
 (0)