Add systemd unit, requirements.txt and venv setup docs

This commit is contained in:
Joachim Hummel committed 2026-10-19 18:36:41 +02:00
1 parent 8526a1bc39
commit cb198120ba
4 files changed
+42 -3

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Raspberry Pi Camera MJPEG Stream Server
After=network.target
[Service]
Type=simple
User=joachim
Group=video
WorkingDirectory=/home/joachim/git/raspi-cam
ExecStart=/home/joachim/git/raspi-cam/venv/bin/python /home/joachim/git/raspi-cam/app.py
Restart=always
RestartSec=3
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target