mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
docs: rework of chapter "Install with apache"
BTW: normalize installation-nginx.rst
This commit is contained in:
parent
c81849cb5a
commit
eb0d4646d8
7 changed files with 465 additions and 63 deletions
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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue