1
0
Fork 0
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:
Kayou 2019-01-23 22:51:12 +01:00 committed by GitHub
commit 7a2376b0c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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"