Comment 3 for bug 1566519

Timo Aaltonen (tjaalton) wrote :

trying to summarize what was discussed on irc last weekend:

- yes, apache-htcacheclean.service needs to have the same name, fixed it locally
- added network-online.target
- systemd has default timeout of 90 seconds after which the cgroup will be destroyed, so there should be no issue with slow processes hanging stop/shutdown for a long time
https://bugzilla.redhat.com/show_bug.cgi?id=1135122
and also
13:03 < sf> Though using KillMode=mixed with graceful-stop may still be a bad idea. Often, when killing apache with SIGKILL,
            stuff like sysv semaphores/shared memory stays around that may cause problems later on. OTOH, maybe it will be
            cleaned up when the cgroup is destroyed.

- apache2@.service is for instances to link to