More ghost busting

This commit is contained in:
Bob Mottram 2017-08-16 18:22:41 +01:00
parent 619834af05
commit 81295daf47
1 changed files with 4 additions and 1 deletions

View File

@ -49,7 +49,10 @@ ghost_variables=(GHOST_DOMAIN_NAME
function ghost_bust {
# kill the started ghost process
kill_pid=$(ps aux | grep "ghost run" | awk -F ' ' '{print $2}' | head -n 1)
kill $kill_pid
kill -9 $kill_pid
kill_pid=$(ps aux | grep "ghost" | awk -F ' ' '{print $2}' | head -n 1)
kill -9 $kill_pid
}
function logging_on_ghost {