From 1a56b6c8a4a16dd0d226eb159ef57d7b12762c48 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 12 Jan 2021 17:13:33 +0100 Subject: [PATCH] Update install --- scripts/install | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index 8e54719..0dfd7f7 100755 --- a/scripts/install +++ b/scripts/install @@ -139,15 +139,6 @@ mkdir -p /etc/$app cp ../conf/coturn/default_coturn /etc/default/coturn-$app ynh_add_systemd_config --service=coturn-$app --template=coturn-galene.service -#================================================= -# STORE THE CONFIG FILE CHECKSUM -#================================================= - -# Calculate and store the config file checksum into the app settings -ynh_store_file_checksum --file="$final_path/data/passwd" -ynh_store_file_checksum --file="$final_path/groups/$group_name.json" -ynh_store_file_checksum --file="$final_path/data/ice-servers.json" - #================================================= # SET COTURN CONFIG #================================================= @@ -215,6 +206,15 @@ ynh_print_OFF ynh_replace_string --match_string=__TURNPWD__ --replace_string=$turnserver_pwd --target_file="$final_path/data/ice-servers.json" ynh_print_ON +#================================================= +# STORE THE CONFIG FILE CHECKSUM +#================================================= + +# Calculate and store the config file checksum into the app settings +ynh_store_file_checksum --file="$final_path/data/passwd" +ynh_store_file_checksum --file="$final_path/groups/$group_name.json" +ynh_store_file_checksum --file="$final_path/data/ice-servers.json" + #================================================= # SETUP LOGROTATE #=================================================