mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
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>
This commit is contained in:
committed by
Rosen Penev
parent
96692fa6c1
commit
350ba8cbbd
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user