docs/SERVICE.md hinzugefügt

This commit is contained in:
ppfeiffer 2026-02-19 07:40:28 +01:00
parent debb138b00
commit dc4457d25e

33
docs/SERVICE.md Normal file
View file

@ -0,0 +1,33 @@
Das ist eine systemd Service-Datei. Installation:
```bash
# Service-Datei kopieren
sudo cp meshdd-bot.service /etc/systemd/system/
# systemd neu laden
sudo systemctl daemon-reload
# Service aktivieren (autostart beim Boot)
sudo systemctl enable meshdd-bot
# Service jetzt starten
sudo systemctl start meshdd-bot
# Status prüfen
sudo systemctl status meshdd-bot
```
Nützliche Befehle danach:
```bash
# Logs anzeigen
journalctl -u meshdd-bot -f
# Service neu starten
sudo systemctl restart meshdd-bot
# Service stoppen
sudo systemctl stop meshdd-bot
```
Der `enable`-Befehl sorgt dafür, dass der Service automatisch bei jedem Systemstart gestartet wird.