From c1edaffcbf2280747d1733a818b1ad48ae526dd5 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 30 Jan 2017 21:00:08 +0100 Subject: [PATCH] Update server.sh Signed-off-by: Severin Kaderli --- bin/server.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"