diff options
author | Daniel M. Capella | 2018-12-05 11:41:32 -0500 |
---|---|---|
committer | Daniel M. Capella | 2018-12-05 11:47:33 -0500 |
commit | fb9cf384a6911db900e80585353ab9dc4a4a0acc (patch) | |
tree | b74133b6a28e1c03da9128a8afd32261349f91c8 | |
parent | 27d83226bb7d7097c795710fb4dc616af0be6be9 (diff) | |
download | aur-fb9cf384a6911db900e80585353ab9dc4a4a0acc.tar.gz |
Ulla make nice
- Specify non-default option in service unit
- Fix UI dir permissions
- Point users to the WebUI
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | moonfire-nvr-git.install | 2 | ||||
-rw-r--r-- | moonfire-nvr.service | 4 |
4 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = moonfire-nvr-git pkgdesc = Security camera network video recorder pkgver = r302.35e6891 - pkgrel = 1 + pkgrel = 2 url = https://github.com/scottlamb/moonfire-nvr install = moonfire-nvr-git.install arch = x86_64 @@ -3,7 +3,7 @@ _pkgname=moonfire-nvr pkgname=moonfire-nvr-git pkgver=r302.35e6891 -pkgrel=1 +pkgrel=2 pkgdesc='Security camera network video recorder' arch=('x86_64') url=https://github.com/scottlamb/moonfire-nvr @@ -38,7 +38,7 @@ package() { cd $_pkgname install -Dt "$pkgdir"/usr/bin target/release/$_pkgname - install -dm644 "$pkgdir"/usr/lib/moonfire-nvr + mkdir -p "$pkgdir"/usr/lib/moonfire-nvr cp -R ui-dist "$pkgdir"/usr/lib/moonfire-nvr/ui } diff --git a/moonfire-nvr-git.install b/moonfire-nvr-git.install index 3b0ba00319fc..18d05497e74e 100644 --- a/moonfire-nvr-git.install +++ b/moonfire-nvr-git.install @@ -12,6 +12,8 @@ $ sudo -u moonfire-nvr moonfire-nvr config 2>debug-log Start and enable the daemon: $ 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 } diff --git a/moonfire-nvr.service b/moonfire-nvr.service index c62eb8ed5542..07babcb4addc 100644 --- a/moonfire-nvr.service +++ b/moonfire-nvr.service @@ -3,9 +3,7 @@ Description=Moonfire NVR After=network-online.target [Service] -ExecStart=/usr/bin/moonfire-nvr run \ - --db-dir=/var/lib/moonfire-nvr/db \ - --http-addr=0.0.0.0:8080 +ExecStart=/usr/bin/moonfire-nvr run --ui-dir=/usr/lib/moonfire-nvr/ui Environment=TZ=:/etc/localtime Environment=MOONFIRE_FORMAT=google-systemd Environment=MOONFIRE_LOG=info |