[Unit] Description=BubbleCam WS2812B subsea status LED # Starts as early as possible so the LED goes solid RED immediately on # power-on, before camera/sensor init even begins -- it only needs /run # (tmpfs, for state files) to be available. DefaultDependencies=no After=local-fs.target Before=basic.target Wants=basic.target [Service] Type=simple ExecStart=/opt/bubblecam/bin/led_status.py Restart=on-failure RestartSec=2 # rpi_ws281x drives the LED via DMA + PWM and requires root for that # hardware access. User=root [Install] WantedBy=multi-user.target