strawberry-pi-greenhouse/start.sh

5 lines
146 B
Bash

#!bin/bash
screen -m -d spig
sleep 10
screen -S spig -X stuff 'cd /home/pi/strawberry-pi-greenhouse\n'
screen -S spig -X stuff 'python3 main.py\n'