[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#895237: apache2: apachectl does not use systemd for restarts

Control: retitle -1 apache2: apachectl restarts don't work properly with all init systems (namely not with systemd)


Jan Heitkötter wrote:
> Default behaviour is do stop/start Apache using apachectl which fails in 
> installations running systemd. Apache will stop, but not start again.

While this is definitely an issue, ...

> Fix: use systemctl to start/stop Apache.

... this is _not_ the solution.

Debian has not only systemd as init system (but at least also
sysvinit, openrc and runit, maybe more) and such actions need to stay
init-system-agnostic, e.g. either use the Debian-specific invoke-rc.d
command or the init-system- and distribution-agnostic "service"
command. Retitling the bug report accordingly.

		Regards, Axel
 ,''`.  |  Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply to: