set group ownership on zm.conf
parent
285e04bbf8
commit
02ea25e8a0
|
@ -74,6 +74,7 @@ installtrusty () {
|
||||||
# Install and test the zoneminder package (only) for Ubuntu Trusty
|
# Install and test the zoneminder package (only) for Ubuntu Trusty
|
||||||
sudo gdebi --non-interactive build/zoneminder_*amd64.deb
|
sudo gdebi --non-interactive build/zoneminder_*amd64.deb
|
||||||
sudo chmod 644 /etc/zm/zm.conf
|
sudo chmod 644 /etc/zm/zm.conf
|
||||||
|
sudo chgrp www-data /etc/zm/zm.conf
|
||||||
mysql -uzmuser -pzmpass zm < db/test.monitor.sql
|
mysql -uzmuser -pzmpass zm < db/test.monitor.sql
|
||||||
sudo /usr/bin/zmpkg.pl start
|
sudo /usr/bin/zmpkg.pl start
|
||||||
sudo /usr/bin/zmfilter.pl -f purgewhenfull
|
sudo /usr/bin/zmfilter.pl -f purgewhenfull
|
||||||
|
|
Loading…
Reference in New Issue