exe_bash_2017.2018/mysqlStart

8 lines
190 B
Bash
Executable File

#!/bin/bash
if (( $EUID != 0 )); then
echo "Il faut les droit root pour executer la tache"
exit
fi
SERVICEtoSTART="mysql"
echo "Démarage d'$SERVICEtoSTART"
service "$SERVICEtoSTART" start