Installing Zoneminder using cmake for systemd systems
Posted: Sat Aug 29, 2015 1:11 pm
Hi, I've recently upgraded to Ubuntu 15 which uses systemd.
I need to install ZoneMinder from the master-branch (working on some features). I am unfamiliar with systemd and
don't quite know what to do to get zone minder recognized and started after install.
Can someone who knows what do to advise?
So far:
a) I've compiled and installed ZM successfully (/usr/local/share/zonminder) via cmake
Doing this fails:
Can someone advise me on what I need to do post install to get things working on the systemd side? Seems to me I need to make sure zoneminder.service is correctly linked but I'm no aware now
I need to install ZoneMinder from the master-branch (working on some features). I am unfamiliar with systemd and
don't quite know what to do to get zone minder recognized and started after install.
Can someone who knows what do to advise?
So far:
a) I've compiled and installed ZM successfully (/usr/local/share/zonminder) via cmake
Doing this fails:
Code: Select all
root@ubuntu:/etc/systemd/system# sudo systemctl enable zoneminder.service
Synchronizing state for zoneminder.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d zoneminder defaults
Executing /usr/sbin/update-rc.d zoneminder enable
Failed to execute operation: Operation not supported
Code: Select all
root@ubuntu:/etc/systemd/system# ll `locate zoneminder.service`
root@ubuntu:/etc/systemd/system# ll `locate zoneminder.service`
lrwxrwxrwx 1 root root 38 Aug 16 08:51 /etc/systemd/system/multi-user.target.wants/zoneminder.service -> /lib/systemd/system/zoneminder.service