From b36f5661f4cea1b9c5d074c7b3ea5e348074657a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 22 Jul 2022 15:15:02 +0200 Subject: [PATCH] added start.sh file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- start.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 start.sh diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..4516d21 --- /dev/null +++ b/start.sh @@ -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' \ No newline at end of file