blob: 07aa6386f5c59cf0c83e05e1c4ec36c1a0658d1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
post_install() {
cat << EOF
For fresh installs, follow these steps:
Install the database directory and initialize it:
$ sudo install -dm700 -g moonfire-nvr -o moonfire-nvr /var/lib/moonfire-nvr/db
$ sudo -u moonfire-nvr moonfire-nvr init
Configure Moonfire NVR:
$ sudo -u moonfire-nvr moonfire-nvr config 2>debug-log
Enable and start the service:
$ sudo systemctl enable --now moonfire-nvr
Access the WebUI at <http://localhost:8080>.
More details available at <https://github.com/scottlamb/moonfire-nvr/blob/master/guide/install.md>.
EOF
}
|