- README: add 'What you'll need', overview, and a 'Prepare the Pi and get the code' step (git clone) so a non-expert can set up from a blank Pi; flag the non-'pi' default username gotcha. - Add config.example.yaml and install-ola.sh; update install.sh and the systemd unit for the env-file/OLA-from-source workflow. - Remove the local Home Assistant/Mosquitto test files from the repo and ignore config.yaml (holds the MQTT password).
19 lines
375 B
Desktop File
19 lines
375 B
Desktop File
[Unit]
|
|
Description=Lutron DMX Control
|
|
After=network-online.target olad@%i.service
|
|
Wants=network-online.target
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=20
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=main
|
|
Environment=PYTHONUNBUFFERED=1
|
|
ExecStart=/usr/bin/python3 /home/%I/lutron-dmx-control.py
|
|
Restart=always
|
|
RestartSec=5
|
|
WatchdogSec=120
|
|
User=%I
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|