Web interface project auto starting
-
- Posts: 2
- Joined: Fri May 10, 2024 12:41 pm
- Real Name: Usher
So I'm using raspberry pi 5. Using artnet. I have a project set to auto start and it appears to load, all of the buttons are there but the dmx lights don't come on. If I load the same project file through the web interface it starts working. Not sure if I did something wrong or if there is a big somewhere. This is also running with no monitor attached and I do have the script file set with the offscreen flag.
-
- Posts: 2
- Joined: Fri May 10, 2024 12:41 pm
- Real Name: Usher
So I ended up having to put a delay into the service starting and then it would load correctly
/lib/systemd/system/qlcplus.service
added ExecStartPre=/bin/sleep 60 to the Service section Example below
[Unit]
Description=Q Light Controller Plus
Documentation=man:qlcplus(1)
After=network.target
[Service]
Type=simple
User=pi
Restart=always
ExecStartPre=/bin/sleep 60
RestartSec=3
ExecStart=/usr/sbin/qlcplus-start.sh
[Install]
WantedBy=multi-user.target
/lib/systemd/system/qlcplus.service
added ExecStartPre=/bin/sleep 60 to the Service section Example below
[Unit]
Description=Q Light Controller Plus
Documentation=man:qlcplus(1)
After=network.target
[Service]
Type=simple
User=pi
Restart=always
ExecStartPre=/bin/sleep 60
RestartSec=3
ExecStart=/usr/sbin/qlcplus-start.sh
[Install]
WantedBy=multi-user.target
- mcallegari
- Posts: 4807
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact: