Update server.sh and add hyper-statusline to .hyper.js

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2017-01-14 21:34:54 +01:00
parent eb025090eb
commit 3e624f1048
2 changed files with 7 additions and 4 deletions

View file

@ -59,6 +59,7 @@ module.exports = {
plugins: [ plugins: [
"hyper-tomorrow-night", "hyper-tomorrow-night",
"hyper-blink", "hyper-blink",
"hyper-statusline"
], ],
localPlugins: [] localPlugins: []

View file

@ -5,11 +5,13 @@
# Usage: ./server.sh [start|stop] # Usage: ./server.sh [start|stop]
if [ "$1" == "start" ]; then if [ "$1" == "start" ]; then
sudo service apache2 start sudo systemctl start apache2.service
sudo service mysql start sudo systemctl start mysql.service
sudo systemctl start php7.0-fpm.service
elif [ "$1" == "stop" ]; then elif [ "$1" == "stop" ]; then
sudo service apache2 stop sudo systemctl stop apache2.service
sudo service mysql stop sudo systemctl stop mysql.service
sudo systemctl stop php7.0-fpm.service
else else
echo "'$1' is an unknown option" echo "'$1' is an unknown option"
exit 0 exit 0