More ghost busting
This commit is contained in:
parent
619834af05
commit
81295daf47
|
@ -49,7 +49,10 @@ ghost_variables=(GHOST_DOMAIN_NAME
|
||||||
function ghost_bust {
|
function ghost_bust {
|
||||||
# kill the started ghost process
|
# kill the started ghost process
|
||||||
kill_pid=$(ps aux | grep "ghost run" | awk -F ' ' '{print $2}' | head -n 1)
|
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 {
|
function logging_on_ghost {
|
||||||
|
|
Loading…
Reference in New Issue