Attached the minidlna.conf upstart init file.
Here is how to use it:

First You need to copy it to /etc/init/
cp minidlna.conf /etc/init/

Then you need to remove minidlna from the old systemv init system by typing:
sudo update-rc.d -f minidlna remove

now you need to symlink the upstart script to /etc/init.d/ like these:

cd /etc/init.d/
sudo ln -s /lib/init/upstart-job minidlna

now you can check that it works by typing

$ sudo service minidlna start
minidlna start/running, process 8369

$ sudo service minidlna stop
minidlna stop/waiting

$ sudo initctl start minidlna
minidlna start/running, process 8417

$ initctl status minidlna
minidlna start/running, process 8417

If you get these work then you good to go.

Disclaimer: I'm not an upstart expert but theses has worked for me and minidlna 
is up and running after boot.
Hope these helps.



** Attachment added: "minidlna.conf"
   
https://bugs.launchpad.net/ubuntu/+source/minidlna/+bug/1053173/+attachment/3333631/+files/minidlna.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053173

Title:
  minidlna crashes on boot when no active network connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/minidlna/+bug/1053173/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to