2

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:

    #!/bin/sh
    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? – Martin von Wittich Sep 26 '13 at 20:10

1 Answers1

2

Try to make the run script executable:

chmod 755 /etc/service/darkice/run