9 lines
193 B
Plaintext
9 lines
193 B
Plaintext
|
#!/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
|