first commit
🚀 Deploy — JH Photomaton / 🔍 Vérification (push) Has been cancelled
🚀 Deploy — JH Photomaton / 🍓 Deploy sur le Pi (push) Has been cancelled

This commit is contained in:
2026-07-16 00:55:29 +02:00
commit 209f81aa3d
100 changed files with 17682 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
[Unit]
Description=JH Photomaton — Interface de gestion (LSDW)
Documentation=https://github.com/your-repo/jh-photomaton
After=network.target photobooth-app.service
Wants=photobooth-app.service
[Service]
Type=simple
User=root
WorkingDirectory=/home/pi/jh-photomaton
ExecStart=/home/pi/jh-photomaton/.venv/bin/python main.py
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=jh-photomaton
# Donne accès à /dev/mem pour rpi_ws281x (LEDs)
# et /dev/gpiomem pour GPIO
PrivateDevices=no
SupplementaryGroups=gpio
# Limite RAM pour protéger le Pi 2Go
MemoryMax=200M
MemorySwapMax=0
[Install]
WantedBy=multi-user.target