added start.sh file

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-22 15:15:02 +02:00
parent a5864add5d
commit b36f5661f4
1 changed files with 5 additions and 0 deletions

5
start.sh 100644
View File

@ -0,0 +1,5 @@
#!bin/bash
screen -m -d spig
sleep 5
screen -S spig -X stuff 'cd /home/pi/strawberry-pi-greenhouse\n'
screen -S spig -X stuff 'python3 main.py\n'