Added ./mycroft.sh restart functionality

pull/868/head
general-shift 2017-06-30 11:26:34 -05:00
parent 14df7e6846
commit d96b975b7a
1 changed files with 11 additions and 0 deletions

View File

@ -157,6 +157,17 @@ case "$1" in
stop-mycroft cli
;;
"restart")
case "$2" in
""|"-v"|"--voice"|"-c"|"--cli"|"-d"|"--debug")
$0 stop
$0 start $2
;;
*)
usage-exit
;;
esac
;;
*)
usage-exit
;;