xampp : param stop
This commit is contained in:
parent
12b0fc6182
commit
35967408ed
10
xampp
10
xampp
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo systemctl stop apache2
|
|
||||||
sudo /opt/lampp/lampp start
|
if [[ $1 == "stop" ]]; then
|
||||||
echo "appuyez sur entrez pour quitter xampp"
|
|
||||||
read
|
|
||||||
sudo /opt/lampp/lampp stop
|
sudo /opt/lampp/lampp stop
|
||||||
sudo systemctl start apache2
|
sudo systemctl start apache2
|
||||||
|
else
|
||||||
|
sudo systemctl stop apache2
|
||||||
|
sudo /opt/lampp/lampp start
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue