From 3e624f104869834dbffd58be191c9f650778090a Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sat, 14 Jan 2017 21:34:54 +0100 Subject: [PATCH] Update server.sh and add hyper-statusline to .hyper.js Signed-off-by: Severin Kaderli --- .hyper.js | 1 + bin/server.sh | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.hyper.js b/.hyper.js index c7ada8a..4e737c9 100644 --- a/.hyper.js +++ b/.hyper.js @@ -59,6 +59,7 @@ module.exports = { plugins: [ "hyper-tomorrow-night", "hyper-blink", + "hyper-statusline" ], localPlugins: [] diff --git a/bin/server.sh b/bin/server.sh index 88ac74c..9de82d3 100755 --- a/bin/server.sh +++ b/bin/server.sh @@ -5,11 +5,13 @@ # Usage: ./server.sh [start|stop] if [ "$1" == "start" ]; then - sudo service apache2 start - sudo service mysql start + sudo systemctl start apache2.service + sudo systemctl start mysql.service + sudo systemctl start php7.0-fpm.service elif [ "$1" == "stop" ]; then - sudo service apache2 stop - sudo service mysql stop + sudo systemctl stop apache2.service + sudo systemctl stop mysql.service + sudo systemctl stop php7.0-fpm.service else echo "'$1' is an unknown option" exit 0