umdns: fix udebug with jail

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-05-28 17:01:48 +02:00
parent 8585354f28
commit 3174182366

View file

@ -60,7 +60,7 @@ start_service() {
procd_add_raw_trigger "instance.update" 5000 "/bin/ubus" "call" "umdns" "reload"
procd_close_trigger
[ "$(uci get umdns.@umdns[-1].jail)" = 1 ] && {
procd_add_jail umdns ubus log
procd_add_jail umdns ubus log udebug
[ -d /etc/umdns ] && procd_add_jail_mount "/etc/umdns"
}
procd_close_instance