diff --git a/conf/config.json.example b/conf/config.json.example index 047dc35..03c46e8 100644 --- a/conf/config.json.example +++ b/conf/config.json.example @@ -3,7 +3,7 @@ "protocolUseSSL": true, "domain": "__DOMAIN__", "port": "__PORT__", - "urlPath": "__PATH__", + "urlPath": "__URL_PATH__", "loglevel": "info", "useCDN": false, "allowGravatar": false, diff --git a/scripts/install b/scripts/install index 7da260d..35fb5ac 100644 --- a/scripts/install +++ b/scripts/install @@ -134,7 +134,7 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Modifying a config file..." --weight=1 -path=${path_url#/} +url_path=${path_url#/} ynh_add_config --template="../conf/config.json.example" --destination="$final_path/config.json" chmod 400 "$final_path/config.json"