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 #=================================================