summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sapkin2026-02-11 09:12:18 +0000
committerGeorge Sapkin2026-02-20 09:17:05 +0000
commit779b1ef2aa7fcff26a5d6f066f4204c13e256c30 (patch)
treeabe1ebdb5b171baca4ddd2537ee0d4a3a1796ce8
parentd2617ca21fb600a297dcad2236296f3313230ba8 (diff)
downloadpackages-779b1ef2aa7fcff26a5d6f066f4204c13e256c30.tar.gz
adguardhome: fix procd
Move START and STOP to be within the first 10 lines so they can be properly detected by procd. Signed-off-by: George Sapkin <george@sapk.in>
-rw-r--r--net/adguardhome/files/adguardhome.init7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/adguardhome/files/adguardhome.init b/net/adguardhome/files/adguardhome.init
index 2dfa8d65b3..83e9a1234e 100644
--- a/net/adguardhome/files/adguardhome.init
+++ b/net/adguardhome/files/adguardhome.init
@@ -4,15 +4,14 @@
#
# shellcheck disable=SC3043 # ash supports local
-PROG=/usr/bin/AdGuardHome
-
-USE_PROCD=1
-
# matches dnsmasq
START=19
# stops before networking stops
STOP=89
+PROG=/usr/bin/AdGuardHome
+USE_PROCD=1
+
config_cb() {
[ $# -eq 0 ] && return