systemd-Service für den Relay hinzugefügt

This commit is contained in:
Joachim Hummel committed 2026-10-17 20:33:20 +02:00
1 parent dadfea5f72
commit aa3f3d78bc
2 files changed
+32

No files matched your search

+17
View File
@@ -50,6 +50,23 @@ PORT=8000
python3 relay.py
```
### Als systemd-Dienst
`webcam-relay.service` liegt im Repository. Pfade und Benutzer (`/home/joachim/git/webcam`, `joachim`) bei Bedarf in der Datei anpassen.
```bash
sudo cp webcam-relay.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now webcam-relay
```
Status und Logs:
```bash
systemctl status webcam-relay
journalctl -u webcam-relay -f
```
### Endpunkte
| Pfad | Beschreibung |