QUELLCODE / SERVICE
hardware-box.service
deploy/hardware-box.service
1# OpenAss: nur privater, experimenteller Gebrauch; auf eigene Verantwortung.2# Niemals Unternehmensrechner, Produktivsysteme, Industrieanlagen oder3# sicherheitskritische Systeme anschließen oder bedienen.4# Haftungshinweis und gesetzliche Grenzen: ../DISCLAIMER.txt.5[Unit]6Description=Hardware Box local operator panel7After=network-online.target8Wants=network-online.target910[Service]11Type=simple12User=pi13Group=pi14SupplementaryGroups=video dialout15WorkingDirectory=/home/pi/hardware-box16EnvironmentFile=/home/pi/hardware-box/.env17ExecStart=/home/pi/hardware-box/.venv/bin/hardware-box --port 808018Restart=on-failure19RestartSec=320TimeoutStopSec=521UMask=007722NoNewPrivileges=true23ProtectSystem=full24ProtectHome=false25PrivateTmp=true2627[Install]28WantedBy=multi-user.target