mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-12 15:33:22 -05:00
Fix incorrect path, commandline in README.md.
From Dolf Starreveld <dolf@starreveld.com>.
This commit is contained in:
parent
7968952295
commit
320c4afa94
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user