luci-app-minidlna: fix service check

The service process was renamed from `minidlna` to `minidlnad`.

Fixes: #3700
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0d68d0ad7b)
This commit is contained in:
Jo-Philipp Wich 2020-03-01 17:32:23 +01:00
parent 13dd17fca1
commit 041863a15b

View file

@ -22,7 +22,7 @@ function minidlna_status()
local port = tonumber(uci:get_first("minidlna", "minidlna", "port"))
local status = {
running = (sys.call("pidof minidlna >/dev/null") == 0),
running = (sys.call("pidof minidlnad >/dev/null") == 0),
audio = 0,
video = 0,
image = 0