refactor: move config_path from root into install_methods

Migrated all 80 app JSON files to place config_path inside each
install_methods object instead of at the root level. This allows
different install methods (e.g. Debian vs Alpine) to have distinct
config paths.

Also updated AGENTS.md JSON structure example to reflect the change.
This commit is contained in:
CanbiZ (MickLesk)
2026-04-14 14:51:01 +02:00
parent 935f9d9d3d
commit 36a4635772
81 changed files with 2621 additions and 2611 deletions

View File

@@ -1,4 +1,3 @@
{
"name": "ddclient",
"slug": "ddclient",
@@ -13,12 +12,12 @@
"documentation": "https://ddclient.net/",
"website": "https://ddclient.net/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/ddclient.webp",
"config_path": "/etc/ddclient.conf",
"description": "ddclient is a Perl client used to update dynamic DNS entries for accounts on a wide range of dynamic DNS service providers. It supports multiple protocols and providers, allowing automatic IP address updates for your domain names.",
"install_methods": [
{
"type": "default",
"script": "ct/ddclient.sh",
"config_path": "/etc/ddclient.conf",
"resources": {
"cpu": 1,
"ram": 512,
@@ -40,6 +39,6 @@
{
"type": "info",
"text": "Sample configuration is created for Namecheap but can be modified for other providers"
},
}
]
}
}