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:
parent
6377d8f806
commit
20eb7419a2
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue