Skip to content

Commit

Permalink
fix bash -a issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Da Wang committed Jan 10, 2024
1 parent 2d963ee commit b00cc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.d/codedeploy-agent.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description=AWS CodeDeploy Host Agent
[Service]
Type=forking
After=network.target
ExecStart=/bin/bash -a -c '[ -f /etc/profile ] && source /etc/profile; /opt/codedeploy-agent/bin/codedeploy-agent start'
ExecStart=/bin/bash -c '[ -f /etc/profile ] && source /etc/profile; /opt/codedeploy-agent/bin/codedeploy-agent start'
ExecStop=/opt/codedeploy-agent/bin/codedeploy-agent stop
RemainAfterExit=no
Restart=on-failure
Expand Down

0 comments on commit b00cc52

Please sign in to comment.