Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # don't use this code :-D
- # https://tutorials-raspberrypi.de/raspberry-pi-amazon-alexa-deutsch-installieren/
- BASE="/home/pi/alexa-avs-sample-app/samples"
- COMPANION="$BASE/companionService"
- JAVACLIENT="$BASE/javaclient"
- WAKEWORDAGENT="$BASE/wakeWordAgent/src"
- # tmux is not the best solution
- # I prefer supervisord, which can start services like the init system
- # and is much declarative in configuration.
- # But not tested yet
- tmux kill-session -t wakeWord
- tmux kill-session -t javaClient
- tmux new -d -s companionService "cd $COMPANION && npm start 2> /home/pi/companionService.log"
- tmux new -d -s javaClient "cd $JAVACLIENT && mvn exec:exec 2> /home/pi/javaclient.log"
- tmux new -d -s wakeWord "cd $WAKEWORDAGENT && ./wakeWordAgent -e kitt_ai 2> /home/pi/wakeWordAgent.log"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement