Hi, the reason for "I was surprised that the apache2.service does not contain a After=network-online.target" was discussed here:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1786675/comments/8 https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1786675/comments/9
(and plenty other cases).
A general config just won't work that way, an admin can modify it to that if he wants to for a specific system. But in general network-online.target is most of the time wrong for servers.
Hi, online. target" was discussed here:
the reason for "I was surprised that the apache2.service does not contain a
After=network-
https:/ /bugs.launchpad .net/ubuntu/ +source/ apache2/ +bug/1786675/ comments/ 8 /bugs.launchpad .net/ubuntu/ +source/ apache2/ +bug/1786675/ comments/ 9
https:/
(and plenty other cases).
A general config just won't work that way, an admin can modify it to that if he wants to for a specific system. But in general network- online. target is most of the time wrong for servers.