README.md ergänzung
This commit is contained in:
23
README.md
23
README.md
@@ -50,20 +50,12 @@ Das Skript kann ohne Parameter zur vollständigen Inventarisierung oder mit Filt
|
|||||||
|
|
||||||
| Parameter | Beschreibung | Beispiel |
|
| Parameter | Beschreibung | Beispiel |
|
||||||
| :--- | :--- | :--- |
|
| :--- | :--- | :--- |
|
||||||
| `[DOMAIN]` | Filtert das Inventar nach Domainname (unterstützt Wildcards wie `*`). | `./proxy-inventory.sh "knut*"` |
|
| `[DOMAIN]` | Filtert das Inventar nach Domainname (unterstützt Wildcards wie `*`). | `./proxy-inventory.sh "suchwort*"` |
|
||||||
| `ID <n>` | Filtert die Ergebnisliste nach einer spezifischen ISPConfig Server-ID. | `./proxy-inventory.sh ID 17` |
|
| `ID <n>` | Filtert die Ergebnisliste nach einer spezifischen ISPConfig Server-ID. | `./proxy-inventory.sh ID 17` |
|
||||||
| `PROXY <status>` | Filtert nach dem Proxy-Status: `OK` (vorhanden) oder `FEHLT`. | `./proxy-inventory.sh PROXY FEHLT` |
|
| `PROXY <status>` | Filtert nach dem Proxy-Status: `OK` (vorhanden) oder `FEHLT`. | `./proxy-inventory.sh PROXY FEHLT` |
|
||||||
| `DNS <status>` | Filtert nach dem DNS-Status: `OK` oder `N/A`. | `./proxy-inventory.sh DNS N/A` |
|
| `DNS <status>` | Filtert nach dem DNS-Status: `OK` oder `N/A`. | `./proxy-inventory.sh DNS N/A` |
|
||||||
| `MODUS <typ>` | Filtert nach dem Modus: `NORMAL` oder `DUMMY`. | `./proxy-inventory.sh MODUS DUMMY` |
|
| `MODUS <typ>` | Filtert nach dem Modus: `NORMAL` oder `DUMMY`. | `./proxy-inventory.sh MODUS DUMMY` |
|
||||||
| `-h` / `--help` | Zeigt die Hilfe-Seite mit Beispielen für das Inventar-Script an. | `./proxy-inventory.sh --help` |
|
| `-h` / `--help` | Zeigt die Hilfe-Seite mit Beispielen für das Inventar-Script an. | `./proxy-inventory.sh --help` |
|
||||||
| Script | Parameter | Beschreibung | Beispiel |
|
|
||||||
| :--- | :--- | :--- | :--- |
|
|
||||||
| **`proxy-inventory.sh`** | `[DOMAIN]` | Filtert das Inventar nach Domainname; unterstützt Wildcards wie `*`. | `./proxy-inventory.sh "knut*"` |
|
|
||||||
| | `ID <n>` | Filtert die Ergebnisliste nach einer spezifischen ISPConfig Server-ID. | `./proxy-inventory.sh ID 17` |
|
|
||||||
| | `PROXY <status>` | Filtert nach dem Proxy-Status: `OK` (vorhanden) oder `FEHLT`. | `./proxy-inventory.sh PROXY FEHLT` |
|
|
||||||
| | `DNS <status>` | Filtert nach dem DNS-Status: `OK` oder `N/A`. | `./proxy-inventory.sh DNS N/A` |
|
|
||||||
| | `MODUS <typ>` | Filtert nach dem Modus: `NORMAL` oder `DUMMY`. | `./proxy-inventory.sh MODUS DUMMY` |
|
|
||||||
| | `-h` / `--help` | Zeigt die Hilfe-Seite mit Beispielen für das Inventar-Script an. | `./proxy-inventory.sh --help` |
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -116,7 +108,20 @@ Die Parameter können kombiniert werden, um das Verhalten präzise zu steuern. D
|
|||||||
* `./sync-ispconfig-proxy.sh force -debug`: Verarbeitet alle Domains neu und zeigt dabei die SQL-Abfragen zur Fehleranalyse an.
|
* `./sync-ispconfig-proxy.sh force -debug`: Verarbeitet alle Domains neu und zeigt dabei die SQL-Abfragen zur Fehleranalyse an.
|
||||||
* `./sync-ispconfig-proxy.sh renew test`: Simuliert die Erneuerung aller Zertifikate, ohne acme.sh tatsächlich aufzurufen.
|
* `./sync-ispconfig-proxy.sh renew test`: Simuliert die Erneuerung aller Zertifikate, ohne acme.sh tatsächlich aufzurufen.
|
||||||
|
|
||||||
|
### Kombination und Priorität (sync-ispconfig-proxy.sh)
|
||||||
|
|
||||||
|
| Kombination | Ergebnis |
|
||||||
|
| :--- | :--- |
|
||||||
|
| `domain.de renew` | Verarbeitet **nur** domain.de und erzwingt für diese ein neues Zertifikat. |
|
||||||
|
| `force renew` | Verarbeitet **alle** Domains der Datenbank und erzwingt für alle neue Zertifikate. |
|
||||||
|
| `domain.de force` | Verarbeitet **nur** domain.de. (Der Parameter `force` wird ignoriert). |
|
||||||
|
| `force test` | Simuliert die Verarbeitung **aller** Domains (Dry-Run), ohne Änderungen vorzunehmen. |
|
||||||
|
| `renew test` | Simuliert die Erneuerung **aller** Zertifikate (Dry-Run). |
|
||||||
|
| `domain.de renew test`| Simuliert die Erneuerung **nur** für domain.de (Dry-Run). |
|
||||||
|
|
||||||
|
**Prioritäts-Regel:** 1. `test` (Verhindert jegliche Änderung)
|
||||||
|
2. `[DOMAIN]` (Beschränkt auf ein Ziel, ignoriert globalen `force`)
|
||||||
|
3. `force` (Erfasst alles, falls keine Domain definiert ist)
|
||||||
|
|
||||||
# ISPConfig Proxy Cleanup Script (`sync-ispconfig-cleanup.sh`)
|
# ISPConfig Proxy Cleanup Script (`sync-ispconfig-cleanup.sh`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user