Systemd service files

Colin Law clanlaw at gmail.com
Sat Sep 16 06:55:18 UTC 2017


On 15 September 2017 at 15:48, J Doe <general at nativemethods.com> wrote:
> Hi,
>
> I have Ubuntu server 16.04 LTS deployed on one of my servers.  I have been working at slowly learning systemd but I ran into something that I hadn't expected.
>
> When adding commonly used packages (Apache 2.4.x), I noticed that some of these packages have incomplete systemd service files.  In the case of Apache there is a systemd stub that then calls an init.d shim script.  As a result, on reboot, systemd shows a load failure (I am assuming from the incomplete service file), for Apache, but Apache is successfully started.  Controlling Apace post-boot is possible using the legacy apachectl command.

It should not be an incomplete service file, even if all it does is
pass it on to an init script. Post the results of
sudo systemctl status apache2   (or whatever the service is called)

Colin




More information about the ubuntu-users mailing list