First commit

This commit is contained in:
adri
2017-12-13 08:32:32 +01:00
commit 17b678f06b
7 changed files with 115 additions and 0 deletions

8
apacheStop Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
if (( $EUID != 0 )); then
echo "Il faut les droit root pour executer la tache"
exit
fi
SERVICEtoSTOP="apache2"
echo "Démarage d'$SERVICEtoSTOP"
service "$SERVICEtoSTOP" stop