diff --git a/apache2.changes b/apache2.changes index 2961c98..3c6a704 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Sep 3 15:37:37 UTC 2013 - crrodriguez@opensuse.org + +- Also fix subtle non-obvious systemd unit confusion + we really mean -DFOREGROUND not -DNO_DETACH the latter only + inhibits the parent from forking, not quite the same as + running in well.. the foreground as required. + ------------------------------------------------------------------- Tue Sep 3 03:58:27 UTC 2013 - crrodriguez@opensuse.org diff --git a/apache2.service b/apache2.service index 3515877..572e9a6 100644 --- a/apache2.service +++ b/apache2.service @@ -8,9 +8,9 @@ Before=getty@tty1.service Type=notify PrivateTmp=true EnvironmentFile=/etc/sysconfig/apache2 -ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start -ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -t -k graceful -ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop +ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k start +ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -t -k graceful +ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop [Install] WantedBy=multi-user.target