I have installed and configured darkice in Raspbian and it works fine if I run it with "sudo darkice". I want to run darkice automatically so I tried to run it via daemontools with the following steps but it is not working. please help.

  1. open a shell to your server, and type the following:

    apt-get install daemontools
    apt-get install daemontools-run
    mkdir /etc/service/darkice
    chmod 2775 /etc/service/darkice
    touch /etc/service/darkice/run
  2. vi /etc/service/darkice/run and add these lines:

    echo Running service
    exec darkice
  • Please describe what you mean with "it is not working". Do you get an error message? Or will it simply not start when you reboot the machine? Sep 26, 2013 at 20:10

1 Answer 1


Try to make the run script executable:

chmod 755 /etc/service/darkice/run

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .