apache2ctl is a symlink to /etc/init.d/apache2, breaking when used as usual: [root@eric ~]# apache2ctl graceful /lib64/rc/sh/runscript.sh: line 117: .: /etc/init.d: is a directory * init.d: unknown function `graceful' [root@eric ~]# /etc/init.d/apache2 graceful * Gracefully restarting apache2 ... [ ok ] Also not how the help of the initscript isn't complete: [root@eric ~]# /etc/init.d/apache2 Usage: apache2 [options] stop | start | restart | describe | zap Options: [dDsvChqv] -d, --debug set xtrace when running the script -s, --ifstarted only run commands when started -D, --nodeps ignore dependencies -h, --help Display this help output -C, --nocolor Disable color output -v, --verbose Run verbosely -q, --quiet Run quietly [root@eric ~]# /etc/init.d/apache2 describe * No description for apache2 * configdump: no description * configtest: no description * fullstatus: no description * graceful: no description * gracefulstop: no description * modules: no description * reload: no description [root@eric ~]# All of those might be openrc bugs, not apache bugs; they need to be fixed anyway, IMO.
fixed, thanks