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