From: Jo-Philipp Wich Date: Sun, 1 Mar 2020 16:32:23 +0000 (+0100) Subject: luci-app-minidlna: fix service check X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=041863a15b17eef52a8b7877820533c6bab786f1;p=oweals%2Fluci.git luci-app-minidlna: fix service check The service process was renamed from `minidlna` to `minidlnad`. Fixes: #3700 Signed-off-by: Jo-Philipp Wich (cherry picked from commit 0d68d0ad7bd2ab036caba973daa85864f8ec81a3) --- diff --git a/applications/luci-app-minidlna/luasrc/controller/minidlna.lua b/applications/luci-app-minidlna/luasrc/controller/minidlna.lua index 920079647..3420f305e 100644 --- a/applications/luci-app-minidlna/luasrc/controller/minidlna.lua +++ b/applications/luci-app-minidlna/luasrc/controller/minidlna.lua @@ -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