1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivebox_ynh.git synced 2024-09-03 18:15:54 +02:00

Test activating virtualenv in install

This commit is contained in:
mhfowler 2021-08-20 14:15:37 +02:00
parent f6b141b18c
commit fae39011a7

View file

@ -179,6 +179,11 @@ chown -R $app:www-data "$datadir"
#=================================================
# INITIALIZE ARCHIVEBOX
#=================================================
(
set +o nounset
source "${final_path}/venv/bin/activate"
set -o nounset
ynh_script_progression --message="Initializing Archivebox" --weight=1
cd $datadir && ynh_exec_as $app $archivebox_cmd init
@ -217,6 +222,7 @@ fi
ynh_script_progression --message="Finishing Archivebox Setup" --weight=1
cd $datadir && ynh_exec_as $app $archivebox_cmd init --setup
)
#=================================================
# ADD A CONFIGURATION