set group ownership on zm.conf

pull/1788/head
Andy Bauer 2017-03-04 10:49:14 -06:00
parent 285e04bbf8
commit 02ea25e8a0
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ installtrusty () {
# Install and test the zoneminder package (only) for Ubuntu Trusty
sudo gdebi --non-interactive build/zoneminder_*amd64.deb
sudo chmod 644 /etc/zm/zm.conf
sudo chgrp www-data /etc/zm/zm.conf
mysql -uzmuser -pzmpass zm < db/test.monitor.sql
sudo /usr/bin/zmpkg.pl start
sudo /usr/bin/zmfilter.pl -f purgewhenfull