Systemd service files

Xen list at xenhideout.nl
Sat Sep 16 06:41:50 UTC 2017


Ralf Mardorf schreef op 16-09-2017 8:23:

> Hi,
> 
> those packages unlikely contain incomplete "systemd service files". 
> Much
> likely those packages contain plain init scripts and
> systemd-sysv-generator generates systemd units. I guess with "systemd
> service files" you mean "systemd units".

Just want to mention that on Debian 8, which is also a SystemD release, 
apache2 indeed does not have any (almost) systemd files but /etc/rc... 
is populated with init scripts and references to them.

> Instead of guessing consider to take a look at log files and at least
> consider to post the load failure systemd does show. It might be my
> broken English, but I even don't understand what fails to load, if
> seemingly everything starts as expected.

I also want to add that on this Debian 8 system,

$ systemctl | grep apache
   apache2.service                                                   
loaded    active running   LSB: Apache2 web server

$ systemctl status apache2
● apache2.service - LSB: Apache2 web server
    Loaded: loaded (/etc/init.d/apache2)
   Drop-In: /lib/systemd/system/apache2.service.d
            └─forking.conf
    Active: active (running) since Mon 2017-04-17 14:56:43 CEST; 4 months 
29 days ago
   Process: 26105 ExecReload=/etc/init.d/apache2 reload (code=exited, 
status=0/SUCCESS)
    CGroup: /system.slice/apache2.service
            ├─15026 /usr/sbin/apache2 -k start
            ├─26131 /usr/sbin/apache2 -k start
            ├─26132 /usr/sbin/apache2 -k start
            ├─26133 /usr/sbin/apache2 -k start
            ├─26134 /usr/sbin/apache2 -k start
            ├─26136 /usr/sbin/apache2 -k start
            ├─26627 /usr/sbin/apache2 -k start
            └─26628 /usr/sbin/apache2 -k start

Regards.




More information about the ubuntu-users mailing list