aws-codedeploy-agent icon indicating copy to clipboard operation
aws-codedeploy-agent copied to clipboard

Move After to proper systemd unit file section.

Open pdrakeweb opened this issue 4 years ago • 1 comments

Move the After= configuration statement from the [Service] section to the [Unit] section where it belongs.

The current code results in syslog messages like this:

11/05/2021
5:35:48.546 AM +0000
service.systemd v2 i-###########.us-east-1a ##.##.##.## undef 4 [/etc/systemd/system/codedeploy-agent.service:6] Unknown lvalue 'After' in section 'Service'

See syslog documentation for supporting evidence: https://www.freedesktop.org/software/systemd/man/systemd.unit.html https://www.freedesktop.org/software/systemd/man/systemd.service.html

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

pdrakeweb avatar Nov 19 '21 17:11 pdrakeweb

Coverage Status

Coverage remained the same at 47.849% when pulling c3f315d96a81b21f8d38f4fa83b1c38acbfbc9ac on pdrakeweb:service-after into 3c39d545b108c29ae46dfe17aa98e518f88f1a14 on aws:master.

coveralls avatar Nov 19 '21 17:11 coveralls