This repository has been archived on 2020-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
2016-12-14 21:30:05 +01:00
|
|
|
#!/bin/bash
|
2016-12-31 15:20:25 +01:00
|
|
|
|
|
|
|
# Get the current working directory
|
|
|
|
SCRIPTPATH=$(dirname -- "$(readlink -e -- "$BASH_SOURCE")")
|
|
|
|
|
|
|
|
# add the bin directory to the path
|
|
|
|
PATH=$PATH:$SCRIPTPATH/borg_interface/bin/
|
|
|
|
|
|
|
|
# activate the virtual environment
|
|
|
|
source $SCRIPTPATH/borg_interface/bin/activate
|
|
|
|
|
|
|
|
# execute the main script
|
|
|
|
python3 $SCRIPTPATH/borg_interface/main.py
|
2016-12-14 21:30:05 +01:00
|
|
|
exit 0
|