14 lines
234 B
Bash
14 lines
234 B
Bash
|
#!/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
|