mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Merge pull request #7 from YunoHost-Apps/testing
Fix change url and enable terminal
This commit is contained in:
commit
7a2376b0c7
2 changed files with 4 additions and 2 deletions
|
@ -80,6 +80,8 @@ nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf
|
|||
|
||||
if [ $change_path -eq 1 ]
|
||||
then
|
||||
domain="$old_domain"
|
||||
path_url="$new_path"
|
||||
ynh_add_nginx_config
|
||||
fi
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ ynh_app_setting_set $app admin $admin
|
|||
ynh_app_setting_set $app domain $domain
|
||||
ynh_app_setting_set $app path_url $path_url
|
||||
ynh_app_setting_set $app is_public $is_public
|
||||
ynh_app_setting_set $app enable_terminal $is_public
|
||||
ynh_app_setting_set $app enable_terminal $enable_terminal
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
@ -144,4 +144,4 @@ yunohost service add $app --log "systemd"
|
|||
# START SERVICE
|
||||
#=================================================
|
||||
|
||||
ynh_systemd_action -n $app -a start -l "JupyterHub is now running at" -p "systemd"
|
||||
ynh_systemd_action -n $app -a start -l "JupyterHub is now running at" -p "systemd"
|
||||
|
|
Loading…
Add table
Reference in a new issue