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