updated test, from centos 6x to 7x style, transformedservice commands into direct commands

This commit is contained in:
fbsanchez 2022-01-10 21:02:17 +01:00
parent 8b8243c56a
commit 9f25508a44
1 changed files with 2 additions and 2 deletions

View File

@ -17,14 +17,14 @@ function check {
}
# Start the required services.
service mysqld start && /usr/bin/mysqladmin -u root password 'pandora'
rm -rf /var/lib/mysql/* && sudo -u mysql mysqld --initialize-insecure && mysqld --user=mysql --sql-mode="" --daemonize=ON && /usr/bin/mysqladmin -u root password 'pandora'
check "Starting the MySQL Server" $?
mkdir -p /run/php-fpm/ 2>/dev/null
/usr/sbin/php-fpm
check "Starting PHP-FPM" $?
service httpd start
httpd
check "Starting the Apache Web Server" $?
# Install the Pandora FMS Console.