mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 13:01:51 -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
|
# Database stack
|
||||||
if [ "$mysql" = 'yes' ]; then
|
if [ "$mysql" = 'yes' ]; then
|
||||||
if [ $release -ge 7 ]; then
|
if [ $release -ge '7' ]; then
|
||||||
echo ' - MariaDB Database Server'
|
echo ' - MariaDB Database Server'
|
||||||
else
|
else
|
||||||
echo ' - MySQL Database Server'
|
echo ' - MySQL Database Server'
|
||||||
|
@ -875,7 +875,7 @@ if [ "$nginx" = 'yes' ]; then
|
||||||
cp -f $vestacp/logrotate/nginx /etc/logrotate.d/
|
cp -f $vestacp/logrotate/nginx /etc/logrotate.d/
|
||||||
echo > /etc/nginx/conf.d/vesta.conf
|
echo > /etc/nginx/conf.d/vesta.conf
|
||||||
mkdir -p /var/log/nginx/domains
|
mkdir -p /var/log/nginx/domains
|
||||||
if [ "$release" -ge 7 ]; then
|
if [ "$release" -ge '7' ]; then
|
||||||
mkdir -p /etc/systemd/system/nginx.service.d
|
mkdir -p /etc/systemd/system/nginx.service.d
|
||||||
cd /etc/systemd/system/nginx.service.d
|
cd /etc/systemd/system/nginx.service.d
|
||||||
echo "[Service]" > limits.conf
|
echo "[Service]" > limits.conf
|
||||||
|
@ -920,7 +920,7 @@ if [ "$apache" = 'yes' ]; then
|
||||||
chmod a+x /var/log/httpd
|
chmod a+x /var/log/httpd
|
||||||
mkdir -p /var/log/httpd/domains
|
mkdir -p /var/log/httpd/domains
|
||||||
chmod 751 /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
|
mkdir -p /etc/systemd/system/httpd.service.d
|
||||||
cd /etc/systemd/system/httpd.service.d
|
cd /etc/systemd/system/httpd.service.d
|
||||||
echo "[Service]" > limits.conf
|
echo "[Service]" > limits.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue