Fix incorrect path, commandline in README.md.

From Dolf Starreveld <dolf@starreveld.com>.
This commit is contained in:
Scott Lamb 2016-01-04 22:06:55 -08:00
parent 7968952295
commit 320c4afa94

View File

@ -110,7 +110,7 @@ Alternatively, you can prepare a `.deb` package:
# Configuration
Moonfire NVR expects a configuration file `/etc/moonfire_nvr.conf` (overridable
Moonfire NVR expects a configuration file `/etc/moonfire-nvr.conf` (overridable
with the `--config` argument). Currently this file should contain a
text-format `moonfire_nvr.Config` protocol buffer message; see
`src/config.protodevel` which describes the meaning of fields. The general
@ -177,7 +177,8 @@ Moonfire NVR should be run under a dedicated user. This user should own the
served through an HTTP interface, there's no need for any other user to access
the files.
$ sudo adduser --system moonfire-nvr
$ sudo addgroup --system moonfire-nvr
$ sudo adduser --system moonfire-nvr --group moonfire-nvr
$ sudo mkdir /var/lib/moonfire_nvr
$ sudo chown moonfire-nvr:moonfire-nvr /var/lib/moonfire_nvr
$ sudo chmod 700 /var/lib/moonfire_nvr