add environment variables to the bash script
This commit is contained in:
parent
71a9ed4440
commit
08cee7696c
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
PATH=$PATH:borg_interface/bin/
|
||||
source borg_interface/bin/activate
|
||||
python3 borg_interface/backup_to_external.py
|
||||
INTERFACE_PATH=/home/andreas/.virtualenvs/borg_interface
|
||||
PATH=$PATH:$INTERFACE_PATH/bin/
|
||||
source $INTERFACE_PATH/bin/activate
|
||||
python3 $INTERFACE_PATH/backup_to_external.py
|
||||
exit 0
|
||||
|
|
Reference in New Issue