README.md aktualisiert
This commit is contained in:
10
README.md
10
README.md
@ -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
|
git clone https://github.com/dein-user/nextcloud-log-alert.git
|
||||||
cd nextcloud-log-alert
|
cd nextcloud-log-alert
|
||||||
```
|
```
|
||||||
###2️⃣ Installationsskript ausführen
|
### 2️⃣ Installationsskript ausführen
|
||||||
```bash
|
```bash
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
```
|
```
|
||||||
@ -28,7 +28,7 @@ Das Skript erledigt:
|
|||||||
- ✅ Einrichtung der Konfigurationsdatei (webhook.conf)
|
- ✅ Einrichtung der Konfigurationsdatei (webhook.conf)
|
||||||
- ✅ Aktivierung des systemd-Services
|
- ✅ 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:
|
Während der Installation wirst du nach der Webhook-URL für Discord gefragt. Falls du sie später ändern möchtest:
|
||||||
|
|
||||||
```bash
|
```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
|
sudo nano /opt/nextcloud_log_alert/webhook.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
###⚙️ Konfigurationsdateien
|
### ⚙️ Konfigurationsdateien
|
||||||
/opt/nextcloud_log_alert/webhook.conf – Speichert die Webhook-URL.
|
/opt/nextcloud_log_alert/webhook.conf – Speichert die Webhook-URL.
|
||||||
/home/data/nextcloud.log – Logdatei von Nextcloud, die überwacht wird.
|
/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:
|
Falls du den Pfad der Nextcloud-Logdatei ändern möchtest, kannst du dies direkt im Python-Skript tun:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -51,6 +51,6 @@ sudo nano /opt/nextcloud_log_alert/nextcloud_log_alert.py
|
|||||||
|
|
||||||
LOG_FILE = "/home/data/nextcloud.log"
|
LOG_FILE = "/home/data/nextcloud.log"
|
||||||
```
|
```
|
||||||
###📜 Lizenz
|
### 📜 Lizenz
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user