Skip to content

Debian package installs systemd service to /etc/init.d instead of a valid unit directory #130

Open
@danielkza

Description

@danielkza

Just installed the agent on an Ubuntu 16.04 machine (version 1.0-1.1231 according to apt), and I noticed there is a /etc/init.d/codedeploy-agent.service file, which makes no sense, since there is already an init script there (/etc/init.d/codedeploy-agent), and the correct location for the systemd service is /lib/systemd/system or /etc/systemd/system.

I can confirm the issue by downloading the deb file and listing it`s files:

$ dpkg -c codedeploy-agent_1.0-1.1231_all.deb  | grep init.d
drwxr-xr-x awsadmin/amazon   0 2017-07-05 18:42 etc/init.d/
-rw-r--r-- awsadmin/amazon 460 2017-07-05 18:42 etc/init.d/codedeploy-agent.service
-rwxr-xr-x awsadmin/amazon 3022 2017-07-05 18:42 etc/init.d/codedeploy-agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Researching

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions