Forum for questions and support relating to the 1.32.x releases only.
- Posts: 1
- Joined: Fri Feb 28, 2020 12:25 am
I'm trying to get Zmxap working. I started by following this: https://forums.homeseer.com/forum/homes ... ostcount=1
I also consulted the wiki which mentioned that the www-data user would need to execute the pearl script. The only way I could find to accomplish this was like this:
sudo -u www-data /usr/local/zmxap/zmxap.pl -path=/usr/local/zmxap &
but that doesn't appear to be working. The logs don't seem to have been created.
Did I miss something or is there a better way to start the pearl script as the www-user when my ubuntu instance starts?
- Posts: 1049
- Joined: Fri Oct 29, 2010 1:43 am
- Location: Toronto
I would look into adding a proper systemd .service file for it. Something like :
# ZoneMinder zmxap systemd unit file
# This file is intended to work with all Linux distributions
Description=ZoneMinder CCTV recording and security system zmxap
After=network.target mysqld.service httpd.service zonoeminder.service
Put that in /lib/systemd/system/zmxap.service
sudo systemctl enable zmxap.service
sudo systemctl start zmxap.service
Who is online
Users browsing this forum: No registered users and 6 guests