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: [
"hyper-tomorrow-night",
"hyper-blink",
"hyper-statusline"
],
localPlugins: []

View file

@ -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