diff options
Diffstat (limited to 'automated/linux/lemp/lemp.sh')
-rwxr-xr-x | automated/linux/lemp/lemp.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/automated/linux/lemp/lemp.sh b/automated/linux/lemp/lemp.sh index 99f4b02..fcc13d1 100755 --- a/automated/linux/lemp/lemp.sh +++ b/automated/linux/lemp/lemp.sh @@ -18,18 +18,11 @@ dist_name # shellcheck disable=SC2154 case "${dist}" in debian) - dist_info - # shellcheck disable=SC2154 - if [ "${Codename}" = "jessie" ]; then - install_deps "mysql-server php5-mysql php5-fpm curl" - install_deps "-t jessie-backports nginx" - else - install_deps "nginx mysql-server php5-mysql php5-fpm curl" - fi - # Stop apache server in case it is installed and running. systemctl stop apache2 > /dev/null 2>&1 || true + install_deps "nginx mysql-server php5-mysql php5-fpm curl" + systemctl restart nginx systemctl restart mysql |