From 320c4afa9404e6b2b34ca8ebd6f0e3c5dea60b52 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Mon, 4 Jan 2016 22:06:55 -0800 Subject: [PATCH] Fix incorrect path, commandline in README.md. From Dolf Starreveld . --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b59691..5bd9ff8 100644 --- a/README.md +++ b/README.md @@ -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