Code review comment for lp:~canonical-platform-qa/ubuntu-system-tests/systemd_support

Revision history for this message
Richard Huddie (rhuddie) wrote :

I think there are a couple of issues here with the way the apt-cacher systemd service is being setup.

The apt-cacher-ng.service file should be copied into /lib/systemd/system/apt-cacher-ng.service and then you need to run following command to enable it:

systemctl enable apt-cacher-ng.service

Also you can run following command to check format and permissions for the service file:

systemd-analyze verify /lib/systemd/system/apt-cacher-ng.service

I think permissions 644 are required for that. Also I think the spaces in "WantedBy=multi - user.target" need to be removed.

Hopefully that should get to the point where the apt-cacher service is started on boot for systemd.

review: Needs Fixing

« Back to merge proposal