diff --git a/bin/server.sh b/bin/server.sh index 9de82d3..9d35a63 100755 --- a/bin/server.sh +++ b/bin/server.sh @@ -5,12 +5,12 @@ # Usage: ./server.sh [start|stop] if [ "$1" == "start" ]; then - sudo systemctl start apache2.service - sudo systemctl start mysql.service + sudo systemctl start httpd.service + sudo systemctl start mariadb.service sudo systemctl start php7.0-fpm.service elif [ "$1" == "stop" ]; then - sudo systemctl stop apache2.service - sudo systemctl stop mysql.service + sudo systemctl stop httpd.service + sudo systemctl stop mariadb.service sudo systemctl stop php7.0-fpm.service else echo "'$1' is an unknown option"