suggest RequireMountsFor in systemd service file

Besides using one line instead of two, this avoids the need to do hex
escaping of characters like hyphens.
This commit is contained in:
Scott Lamb 2019-07-10 02:00:10 -07:00
parent f80c99a43f
commit 81d4fd67d4

View File

@ -76,12 +76,11 @@ $ sudo vim /etc/systemd/system/moonfire-nvr.service
$ sudo systemctl daemon-reload
```
You'll want to add lines similar to the following to the `[Unit]` section of
You'll want to add a line similar to the following to the `[Unit]` section of
the file:
```
After=media.nvr.mount
Requires=media-mvr.mount
RequiresMountsFor=/media/nvr
```
## Completing configuration through the UI