1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/motioneye_ynh.git synced 2024-09-03 19:46:09 +02:00

test install dir run

This commit is contained in:
SolAZDev 2024-01-15 22:10:18 -04:00
parent 6377d8f806
commit 20eb7419a2

View file

@ -56,6 +56,10 @@ pushd $install_dir
venv/bin/pip install source.tar.gz venv/bin/pip install source.tar.gz
popd popd
mkdir -p /var/www/$app/run
chown $app:$app /var/www/$app/run
chmod 664 /var/www/$app/run
#================================================= #=================================================
# APP INITIAL CONFIGURATION # APP INITIAL CONFIGURATION
#================================================= #=================================================
@ -64,8 +68,7 @@ popd
ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/motioneye.conf" --destination="/var/www/$app/motioneye.conf" ynh_add_config --template="../conf/motioneye.conf" --destination="/var/www/$app/motioneye.conf"
mkdir -p /var/www/$app/run
chmod 644 /var/www/$app/run
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION