Uses systemctl everywhere.

pull/86/head
Cédric Bonhomme 2018-01-26 08:08:57 +01:00
parent 93c6da2618
commit 8fb58b14b1
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ echo -e "\n--- Install MariaDB specific packages and settings… ---\n"
echo "mysql-server mysql-server/root_password password $DBPASSWORD_ADMIN" | debconf-set-selections
echo "mysql-server mysql-server/root_password_again password $DBPASSWORD_ADMIN" | debconf-set-selections
apt-get -y install mariadb-server mariadb-client > /dev/null
systemctl restart mariadb.service
systemctl restart mariadb.service > /dev/null
sleep 5
echo -e "\n--- Installing PHP-specific packages… ---\n"
@ -152,7 +152,7 @@ cat > /etc/apache2/sites-enabled/000-default.conf <<EOF
</VirtualHost>
EOF
echo -e "\n--- Restarting Apache… ---\n"
service apache2 restart > /dev/null 2>&1
systemctl restart apache2.service > /dev/null
echo -e "\n--- Configuration of MONARC data base connection ---\n"