install_httpd-2.4.sh: Fix error in detecting whether OS supports systemd services.
This commit is contained in:
parent
79404a83ad
commit
87506fe9df
@ -103,7 +103,7 @@ _BASE_WEBSPACE_DIR="/var/www"
|
|||||||
|
|
||||||
# - systemd supported by OS ?
|
# - systemd supported by OS ?
|
||||||
# -
|
# -
|
||||||
_systemd="$(which systemctl)"
|
_systemd="$(which systemd)"
|
||||||
_systemctl="$(which systemctl)"
|
_systemctl="$(which systemctl)"
|
||||||
if [[ -z "$_systemd" ]] && [[ -z "$_systemctl" ]]; then
|
if [[ -z "$_systemd" ]] && [[ -z "$_systemctl" ]]; then
|
||||||
SYSTEMD_SUPPORTED=false
|
SYSTEMD_SUPPORTED=false
|
||||||
|
Loading…
Reference in New Issue
Block a user