Skip to content

Commit

Permalink
Move After to proper systemd unit file section.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdrakeweb committed Nov 19, 2021
1 parent 3c39d54 commit c3f315d
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
@@ -1,9 +1,9 @@
[Unit]
Description=AWS CodeDeploy Host Agent
After=network.target

[Service]
Type=forking
After=network.target
ExecStart=/bin/bash -a -c '[ -f /etc/profile ] && source /etc/profile; /opt/codedeploy-agent/bin/codedeploy-agent start'
ExecStop=/opt/codedeploy-agent/bin/codedeploy-agent stop
RemainAfterExit=no
Expand Down

0 comments on commit c3f315d

Please sign in to comment.