I recently upgraded a couple of virtual hosts to debian 8. Now playing with them i found, that:
- there is still a
/etc/init.d
,/etc/rc0.d
, ... director with plenty of files in it (e.g./etc/rc2.d/S04ssh
) - there is a
/etc/systemd/system/sshd.service
, too - I have got an
/etc/init.d/apache2
script but noapache2.service
file - nevertheless systemd seems to work.
systemctl start/stop apache2
works and my own written service file works, too.
So the question(s): Is something wrong here? Did I miss something important while upgrading? If not, how is this expected to work? (What exactly does systemd do with this mess?)
UPDATE: I found this question: https://unix.stackexchange.com/questions/233468/how-does-systemd-use-etc-init-d-scripts which answers most part of my question. (Is this a duplicate question now?)
What I'm still missing: Is it OK that jessie doesn't have an apache2.service file?