Autocaliweb: venv var gets unset after running deactivate
This commit is contained in:
parent
f4b00c42fd
commit
98b4abb2d6
@ -144,7 +144,7 @@ cat <<EOF >"$SCRIPTS_DIR"/auto_zipper_wrapper.sh
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Source virtual environment
|
# Source virtual environment
|
||||||
source ${VIRTUAL_ENV}/bin/activate
|
source ${INSTALL_DIR}/venv/bin/activate
|
||||||
|
|
||||||
WAKEUP="23:59"
|
WAKEUP="23:59"
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ cat <<EOF >"$SCRIPTS_DIR"/metadata_change_detector_wrapper.sh
|
|||||||
# metadata_change_detector_wrapper.sh - Wrapper for periodic metadata enforcement
|
# metadata_change_detector_wrapper.sh - Wrapper for periodic metadata enforcement
|
||||||
|
|
||||||
# Source virtual environment
|
# Source virtual environment
|
||||||
source ${VIRTUAL_ENV}/bin/activate
|
source ${INSTALL_DIR}/venv/bin/activate
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
CHECK_INTERVAL=300 # Check every 5 minutes (300 seconds)
|
CHECK_INTERVAL=300 # Check every 5 minutes (300 seconds)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user