mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Update upgrade
This commit is contained in:
parent
78a8bc5056
commit
a6bc4eeb46
1 changed files with 14 additions and 13 deletions
|
@ -50,6 +50,20 @@ then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||||
|
|
||||||
|
# Create a dedicated NGINX config
|
||||||
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
# Create a dedicated systemd config
|
||||||
|
ynh_add_systemd_config
|
||||||
|
|
||||||
|
yunohost service add $app --description="$app daemon"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -65,19 +79,6 @@ ynh_add_config --template="../conf/jupyter_notebook_config.py" --destination="$i
|
||||||
chown -R root: $install_dir/
|
chown -R root: $install_dir/
|
||||||
chown -R $admin: $install_dir/.venv/
|
chown -R $admin: $install_dir/.venv/
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
|
||||||
ynh_add_nginx_config
|
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
|
||||||
ynh_add_systemd_config
|
|
||||||
|
|
||||||
yunohost service add $app --description="$app daemon"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue