1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00

Fix change url

This commit is contained in:
yalh76 2019-03-07 18:52:06 +01:00
parent 1944b69fd3
commit 24bccaab75
4 changed files with 2 additions and 9 deletions

View file

@ -100,11 +100,7 @@ fi
ynh_print_info "Updating .env configuration..." ynh_print_info "Updating .env configuration..."
ynh_systemd_action --action=stop --service_name=$app --log_path="systemd" ynh_systemd_action --action=stop --service_name=$app --log_path="systemd"
ynh_use_nodejs ynh_replace_string "$old_domain$old_path" "$new_domain$new_path" "$final_path/.env"
ynh_replace_string "__NODEJS_PATH__" "$nodejs_path" "$final_path/.env"
ynh_replace_string "__DB_NAME__" "$db_name" "$final_path/.env"
ynh_replace_string "__DOMAIN_URI__" "$new_domain$new_path" "$final_path/.env"
ynh_replace_string "__PORT__" "$port" "$final_path/.env"
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app" ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
#================================================= #=================================================

View file

@ -271,7 +271,6 @@ systemctl reload nginx
#================================================= #=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app" ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
sleep 10
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -130,7 +130,6 @@ systemctl reload nginx
#================================================= #=================================================
ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app" ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
sleep 10
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -162,8 +162,7 @@ systemctl reload nginx
# START SERVICE # START SERVICE
#================================================= #=================================================
ynh_systemd_action --action=restart --service_name=$app --log_path="systemd" ynh_systemd_action --action=restart --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app"
sleep 10
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT