mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
docs: rework of chapter "Install with apache"
BTW: normalize installation-nginx.rst
This commit is contained in:
12
utils/lib.sh
12
utils/lib.sh
@@ -634,9 +634,15 @@ if [[ -z "${APACHE_SITES_AVAILABE}" ]]; then
|
||||
fi
|
||||
|
||||
apache_is_installed() {
|
||||
(command -v apachectl \
|
||||
&& command -v a2ensite \
|
||||
&& command -v a2dissite ) &>/dev/null
|
||||
case $DIST_ID-$DIST_VERS in
|
||||
ubuntu-*|debian-*)
|
||||
(command -v apachectl \
|
||||
&& command -v a2ensite \
|
||||
&& command -v a2dissite ) &>/dev/null
|
||||
;;
|
||||
arch) (command -v httpd) ;;
|
||||
fedora) (command -v httpd) ;;
|
||||
esac
|
||||
}
|
||||
|
||||
apache_reload() {
|
||||
|
||||
Reference in New Issue
Block a user