First commit
This commit is contained in:
8
apacheStop
Executable file
8
apacheStop
Executable 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
|
||||
Reference in New Issue
Block a user