I've installed a new VM with Ubuntu 22.04, NGINX, and zoneminder 1.36. I have an NFS share that I had previously been using with 1.34 on 18.04.
Code: Select all
# Mount /mnt/nfs mount point
# Should be stored in /etc/systemd/system/mnt-nfs.mount
[Unit]
Description=Zoneminder NFS mount
After=networking.service
Before=zoneminder
[Mount]
What=192.168.20.15:/Zoneminder/Cams
Where=/mnt/nfs
Type=nfs
Options=
# Make 'systemctl enable mnt-nfs.mount' work:
[Install]
WantedBy=multi-user.target
Code: Select all
# systemd bind mount unit for ZoneMinder event storage
[Unit]
Description=systemd bind mount unit for ZoneMinder event storage
After=mnt-nfs.mount
Requires=mnt-nfs.mount
[Mount]
What=/mnt/nfs/zoneminder/events
Where=/var/cache/zoneminder/events
Type=none
Options=bind
[Install]
WantedBy=local-fs.target