exe_bash_2017.2018/apacheStart

9 lines
193 B
Plaintext
Raw Normal View History

2017-12-13 08:32:32 +01:00
#!/bin/bash
if (( $EUID != 0 )); then
echo "Il faut les droit root pour executer la tache"
exit
fi
SERVICEtoSTART="apache2"
echo "Démarage d'$SERVICEtoSTART"
service "$SERVICEtoSTART" start