mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Merge pull request #1949 from NIKTONIKTO717/patch-2
Update vst-install-rhel.sh
This commit is contained in:
commit
29bdd18e95
1 changed files with 3 additions and 3 deletions
|
@ -338,7 +338,7 @@ fi
|
|||
|
||||
# Database stack
|
||||
if [ "$mysql" = 'yes' ]; then
|
||||
if [ $release -ge 7 ]; then
|
||||
if [ $release -ge '7' ]; then
|
||||
echo ' - MariaDB Database Server'
|
||||
else
|
||||
echo ' - MySQL Database Server'
|
||||
|
@ -875,7 +875,7 @@ if [ "$nginx" = 'yes' ]; then
|
|||
cp -f $vestacp/logrotate/nginx /etc/logrotate.d/
|
||||
echo > /etc/nginx/conf.d/vesta.conf
|
||||
mkdir -p /var/log/nginx/domains
|
||||
if [ "$release" -ge 7 ]; then
|
||||
if [ "$release" -ge '7' ]; then
|
||||
mkdir -p /etc/systemd/system/nginx.service.d
|
||||
cd /etc/systemd/system/nginx.service.d
|
||||
echo "[Service]" > limits.conf
|
||||
|
@ -920,7 +920,7 @@ if [ "$apache" = 'yes' ]; then
|
|||
chmod a+x /var/log/httpd
|
||||
mkdir -p /var/log/httpd/domains
|
||||
chmod 751 /var/log/httpd/domains
|
||||
if [ "$release" -ge 7 ]; then
|
||||
if [ "$release" -ge '7' ]; then
|
||||
mkdir -p /etc/systemd/system/httpd.service.d
|
||||
cd /etc/systemd/system/httpd.service.d
|
||||
echo "[Service]" > limits.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue