strawberry-pi-greenhouse/start.sh

5 lines
145 B
Bash
Raw Normal View History

#!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'