Showing posts with label Darkice Starting automatically on boot. Show all posts
Showing posts with label Darkice Starting automatically on boot. Show all posts

Darkice Starting automatically on boot

Darkice Starting automatically on boot

Recently I had to install darkice on Ubuntu 12.04 (and 13.10) and faced a problem many other users has: Darkice won't start on boot, Darkice won't start using "service darkice start/stop" method.

There was a few suggestions using cron and custom scripts.

I figured out how to do it natively, in Ubuntu-way and want to share my experience with community.

-------------------------------

So. There are few problems with Darkice startup script (/init.d/darkice) provided by package system.

1) It does not create Darkice PID-file on start.
2) It Does not delete Darkice PID-file on stop.
3) It fail to check whether process is running or not.
4) Darkice can not start on boot properly (even if startup script was properly modified).

-------------------------------

Simple To-Do list:

(changed files published at the end of this post)