Skip to content

Commit bb180d8

Browse files
committed
Simplified Text
1 parent a0f6f2d commit bb180d8

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

scripts/install/mariadb/mariadb-install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,19 @@ systemctl start mariadb.service
106106
# MariaDB Service Check
107107
STATUS="$(systemctl is-active mariadb)"
108108
if [ "${STATUS}" = "active" ]; then
109-
echo "MariaDB is running. Continuing the installation process."
109+
echo "PASSED: MariaDB is running."
110110
else
111-
echo "MariaDB not running. Please diagnose this issue before proceeding"
111+
echo "FAILED: MariaDB not running. Please diagnose this issue before proceeding"
112112
exit 1
113113
fi
114114

115115
# MySQL Service Check
116116
STATUS="$(systemctl is-active mysql)"
117117
if [ "${STATUS}" = "active" ]; then
118-
echo "MySQL is running. Continuing the installation process."
118+
echo "PASSED: MySQL is running."
119119
echo "MARIADB=1" >> /home/EngineScript/install-log.txt
120120
else
121-
echo "MySQL not running. Please diagnose this issue before proceeding"
121+
echo "FAILED: MySQL not running. Please diagnose this issue before proceeding"
122122
exit 1
123123
fi
124124

scripts/install/nginx/nginx-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ fi
7777
# Nginx Service Check
7878
STATUS="$(systemctl is-active nginx)"
7979
if [ "${STATUS}" = "active" ]; then
80-
echo "Nginx is running. Continuing the installation process."
80+
echo "PASSED: Nginx is running."
8181
echo "NGINX=1" >> /home/EngineScript/install-log.txt
8282
else
83-
echo "Nginx not running. Please diagnose this issue before proceeding"
83+
echo "FAILED: Nginx not running. Please diagnose this issue before proceeding"
8484
exit 1
8585
fi
8686

scripts/install/php/php-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ service php${PHP_VER}-fpm restart
7171
# PHP Service Check
7272
STATUS="$(systemctl is-active php${PHP_VER}-fpm)"
7373
if [ "${STATUS}" = "active" ]; then
74-
echo "PHP ${PHP_VER} is running. Continuing the installation process."
74+
echo "PASSED: PHP ${PHP_VER} is running."
7575
echo "PHP=1" >> /home/EngineScript/install-log.txt
7676
else
77-
echo "PHP ${PHP_VER} not running. Please diagnose this issue before proceeding"
77+
echo "FAILED: PHP ${PHP_VER} not running. Please diagnose this issue before proceeding"
7878
exit 1
7979
fi
8080

scripts/install/redis/redis-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ sudo systemctl enable redis-server
5151
# Redis Service Check
5252
STATUS="$(systemctl is-active redis)"
5353
if [ "${STATUS}" = "active" ]; then
54-
echo "Redis is running. Continuing the installation process."
54+
echo "PASSED: Redis is running."
5555
echo "REDIS=1" >> /home/EngineScript/install-log.txt
5656
else
57-
echo "Redis not running. Please diagnose this issue before proceeding"
57+
echo "FAILED: Redis not running. Please diagnose this issue before proceeding"
5858
exit 1
5959
fi

scripts/install/vhost/vhost-install.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,45 +30,45 @@ echo -e "\n\n${BOLD}Running Services Check:${NORMAL}\n"
3030
# MariaDB Service Check
3131
STATUS="$(systemctl is-active mariadb)"
3232
if [ "${STATUS}" = "active" ]; then
33-
echo "MariaDB is running. Continuing the installation process."
33+
echo "PASSED: MariaDB is running."
3434
else
35-
echo "MariaDB not running. Please diagnose this issue before proceeding"
35+
echo "FAILED: MariaDB not running. Please diagnose this issue before proceeding"
3636
exit 1
3737
fi
3838

3939
# MySQL Service Check
4040
STATUS="$(systemctl is-active mysql)"
4141
if [ "${STATUS}" = "active" ]; then
42-
echo "MySQL is running. Continuing the installation process."
42+
echo "PASSED: MySQL is running."
4343
else
44-
echo "MySQL not running. Please diagnose this issue before proceeding"
44+
echo "FAILED: MySQL not running. Please diagnose this issue before proceeding"
4545
exit 1
4646
fi
4747

4848
# Nginx Service Check
4949
STATUS="$(systemctl is-active nginx)"
5050
if [ "${STATUS}" = "active" ]; then
51-
echo "Nginx is running. Continuing the installation process."
51+
echo "PASSED: Nginx is running."
5252
else
53-
echo "Nginx not running. Please diagnose this issue before proceeding"
53+
echo "FAILED: Nginx not running. Please diagnose this issue before proceeding"
5454
exit 1
5555
fi
5656

5757
# PHP Service Check
5858
STATUS="$(systemctl is-active php${PHP_VER}-fpm)"
5959
if [ "${STATUS}" = "active" ]; then
60-
echo "PHP ${PHP_VER} is running. Continuing the installation process."
60+
echo "PASSED: PHP ${PHP_VER} is running."
6161
else
62-
echo "PHP ${PHP_VER} not running. Please diagnose this issue before proceeding"
62+
echo "FAILED: PHP ${PHP_VER} not running. Please diagnose this issue before proceeding"
6363
exit 1
6464
fi
6565

6666
# Redis Service Check
6767
STATUS="$(systemctl is-active redis)"
6868
if [ "${STATUS}" = "active" ]; then
69-
echo "Redis is running. Continuing the installation process."
69+
echo "PASSED: Redis is running."
7070
else
71-
echo "Redis not running. Please diagnose this issue before proceeding"
71+
echo "FAILED: Redis not running. Please diagnose this issue before proceeding"
7272
exit 1
7373
fi
7474

0 commit comments

Comments
 (0)