OpenMediaVault-Plugin-Developers/openmediavault-minidlna

Minidlna does not start automatically even if enabled

S-V-S opened this issue · 4 comments

Minidlna does not start automatically even if enabled.
It can still be started from the web gui.

The init script is in the minidlna deb that hasn't been updated in a long time. I will have to see if I can find the code since the github page was deleted.

The enable parameter is not used in the mkconf script. Mayby use that parameter with update-rc.d to enable/disable minidlna from starting?

My problem might be related to the situation where my OMV machine is started but it doesn't get a IP address from the router. (OMV configured to use DHCP)
Minidlna init.d script requires networking to be started.

The enable parameter is used in configimport script to disable/enable the service. This was my first real plugin and everything was modeled from Volker's ftp and forked-daapd plugin. I think it just needs monit code like the forked-daapd plugin.

I can confirm that my problem originated from the situation were OMV didn't get a IP address at startup. After changing to a static IP address the problem is gone.