Skip to content

Commit

Permalink
Added ./mycroft.sh restart functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-penrod committed Jun 30, 2017
1 parent 14df7e6 commit d96b975
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mycroft.sh
Expand Up @@ -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
;;
Expand Down

0 comments on commit d96b975

Please sign in to comment.