From 9913dc987d59c4c2520b552c49171cefbbf4981c Mon Sep 17 00:00:00 2001 From: BKLronin Date: Sun, 30 Jun 2024 13:57:59 +0100 Subject: [PATCH] added start.sh --- start.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 start.sh diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..2482ab7 --- /dev/null +++ b/start.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Change to the home directory +cd /home/pi/ + +# Activate the virtual environment +source AutoSyncHost/bin/activate + +# Change to the project directory +cd /home/pi/AutoSyncHost/ + +# Execute the Python script +python3 ashost.py