Browse Source

added httpd and apache2 commands

pull/1323/head
Dan 7 years ago
committed by GitHub
parent
commit
8b41b1e601
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      acme.sh

7
acme.sh

@ -2452,8 +2452,13 @@ _apachePath() {
if ! _exists apachectl; then if ! _exists apachectl; then
if _exists apache2ctl; then if _exists apache2ctl; then
_APACHECTL="apache2ctl" _APACHECTL="apache2ctl"
elif _exists apache2; then #added
_APACHECTL="apache2" #added
elif _exists httpd; then #added
_APACHECTL="httpd" #added
else else
_err "'apachectl not found. It seems that apache is not installed, or you are not root user.'"
_err "'apachectl (or apache2 or httpd) not found. It seems that apache is not installed, or you are not root user.'"
#_err "'apachectl not found. It seems that apache is not installed, or you are not root user.'"
_err "Please use webroot mode to try again." _err "Please use webroot mode to try again."
return 1 return 1
fi fi

Loading…
Cancel
Save