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.
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/ upstart- job minidlna
sudo ln -s /lib/init/
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.