Browse Source

adguardhome: bump to 0.106.1

* Create working directory when it is not present. Apparently
  some recent change made adguardhome fail to start when working
  directory is missing.
* Full changelog available at:
  * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.106.1

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
lilik-openwrt-22.03
Dobroslaw Kijowski 4 years ago
committed by Rosen Penev
parent
commit
350ba8cbbd
2 changed files with 7 additions and 3 deletions
  1. +2
    -2
      net/adguardhome/Makefile
  2. +5
    -1
      net/adguardhome/files/adguardhome.init

+ 2
- 2
net/adguardhome/Makefile View File

@ -6,13 +6,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=adguardhome
PKG_VERSION:=0.106.0
PKG_VERSION:=0.106.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/AdguardTeam/AdGuardHome
PKG_MIRROR_HASH:=5e3fb3bb93ad8d7ac3351503e7b01353dc409bc30a719a6ed7b967e8a462434c
PKG_MIRROR_HASH:=631ed8d671827e78dffaec94d21a69ec9dcda80ef843057592167b8be6edd780
PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE_FILES:=LICENSE.txt


+ 5
- 1
net/adguardhome/files/adguardhome.init View File

@ -1,6 +1,8 @@
#!/bin/sh /etc/rc.common
PROG=/usr/bin/AdGuardHome
WORK_DIR=/tmp/adguardhome
USE_PROCD=1
# starts after network starts
@ -9,8 +11,10 @@ START=21
STOP=89
start_service() {
[ -d "$WORK_DIR" ] || mkdir -m 0755 -p "$WORK_DIR"
procd_open_instance
procd_set_param command "$PROG" -c /etc/adguardhome.yaml -w /tmp/adguardhome --no-check-update
procd_set_param command "$PROG" -c /etc/adguardhome.yaml -w "$WORK_DIR" --no-check-update
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance


Loading…
Cancel
Save