Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 #!/bin/zsh
- 2 /usr/bin/logger -p 3 -s "Alles geht schief"
- 3 exec 2> /home/pi/errordatei
- 4 #tmux new-session -s mystrom 'ping 127.0.0.1' \; split-window 'ping 127.0.0.1' \; select-layout even-horizontal
- 5
- 6
- 7 /bin/false || echo "Teil1"
- 8 cd /home/pi/mystrom; /usr/bin/tmux new-session -d -s mystrom -x 240 -y 60 -n start_flask.py '/usr/bin/python3 /home/pi/mystrom/mystrom.py'
- 9 /bin/false || echo "Teil2"
- 10 cd /home/pi/mystrom; /usr/bin/tmux new-window -a -t mystrom -n mystrom.py /usr/bin/python3 /home/pi/mystrom/start_flask.py
- 11
- 12 # new-session -d = detached bei start nicht anzeigen
- 13 # new-window -a = append, sonst kommt index Fehler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement