User Tools

Site Tools


bash:scripts_pour_xampp

start/stop

#!/bin/bash
# Allow to start/stop xampp easily
# To be put in /bin or /usr/bin
# >> xampp start
# to start xampp
# >> xampp stop
# to stop xampp
# feb. 2016 - Léo M. - public domain

if [ "$1" == "start" ]
then
  sudo /opt/lampp/lampp start
else
  sudo /opt/lampp/lampp stop
fi
bash/scripts_pour_xampp.txt · Last modified: 2016/07/01 15:08 by leo