From b0e6a88739ad87474c1832b3a98251e451dde96b Mon Sep 17 00:00:00 2001 From: Plumf Date: Wed, 6 May 2020 10:35:58 +0200 Subject: [PATCH] Fix check_process --- check_process | 2 +- scripts/change_url | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/check_process b/check_process index ffd1a7c..9e0b364 100644 --- a/check_process +++ b/check_process @@ -27,7 +27,7 @@ upgrade=0 from_commit=65c382d138596fcb32b4c97c39398815a1dcd4e8 backup_restore=1 multi_instance=1 - port_already_use=0 (66) + port_already_use=1 (66) change_url=0 actions=0 config_panel=0 diff --git a/scripts/change_url b/scripts/change_url index 489f138..b594211 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -91,11 +91,11 @@ fi # Change the domain for nginx if [ $change_domain -eq 1 ] then - # Delete file checksum for the old conf file location - #ynh_delete_file_checksum --file="$nginx_conf_path" + # Delete file checksum for the old conf file location + ynh_delete_file_checksum --file="$nginx_conf_path" mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf - # Store file checksum for the new config file location - #ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" + # Store file checksum for the new config file location + ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" fi #=================================================