README.md aktualisiert

This commit is contained in:
2025-01-30 12:31:24 +00:00
parent a4a3aa383a
commit 69eb5ca0ad

View File

@ -19,7 +19,7 @@ Es nutzt ein Python-Skript, das über einen systemd-Service automatisch gestarte
git clone https://github.com/dein-user/nextcloud-log-alert.git
cd nextcloud-log-alert
```
###2⃣ Installationsskript ausführen
### 2⃣ Installationsskript ausführen
```bash
sudo ./install.sh
```
@ -28,7 +28,7 @@ Das Skript erledigt:
- ✅ Einrichtung der Konfigurationsdatei (webhook.conf)
- ✅ Aktivierung des systemd-Services
###3⃣ Discord Webhook hinterlegen
### 3⃣ Discord Webhook hinterlegen
Während der Installation wirst du nach der Webhook-URL für Discord gefragt. Falls du sie später ändern möchtest:
```bash
@ -36,10 +36,10 @@ Während der Installation wirst du nach der Webhook-URL für Discord gefragt. Fa
sudo nano /opt/nextcloud_log_alert/webhook.conf
```
###⚙️ Konfigurationsdateien
### ⚙️ Konfigurationsdateien
/opt/nextcloud_log_alert/webhook.conf Speichert die Webhook-URL.
/home/data/nextcloud.log Logdatei von Nextcloud, die überwacht wird.
###🛠 Anpassungen
### 🛠 Anpassungen
Falls du den Pfad der Nextcloud-Logdatei ändern möchtest, kannst du dies direkt im Python-Skript tun:
```bash
@ -51,6 +51,6 @@ sudo nano /opt/nextcloud_log_alert/nextcloud_log_alert.py
LOG_FILE = "/home/data/nextcloud.log"
```
###📜 Lizenz
### 📜 Lizenz
MIT License