Skip to content
Snippets Groups Projects
Commit 5fbb9679 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: restart of mysql for opensuse

parent f5387081
No related branches found
No related tags found
No related merge requests found
......@@ -454,7 +454,11 @@ echo Restart mysql server
/sbin/service mysqld restart
%else
%if 0%{?suse_version}
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
else
/sbin/service mysql restart
fi
%else
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
......
......@@ -286,7 +286,11 @@ fi
# Restart mysql
echo Restart mysql
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
else
/sbin/service mysql restart
fi
# Show result
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment