Darkice won't auto start on boot

Status
Not open for further replies.

fdnyfish

Member
Feed Provider
Joined
Sep 25, 2005
Messages
333
Location
Barnesville, PA
I followed the instructions of this wiki
https://wiki.radioreference.com/index.php/Raspberry_Pi_Broadcastify_Build#Configure_the_Sound_Card


but when i boot up my raspberry Pi3 and run the "top" command, darkice is not running.

If I send a "sudo service darkice1 start" the service still does not start.

The only way I am able to get darkice to manually start is by sending the following 2 command, then I see darkice running when used the "top" command.


sudo service darkice1 stop
sudo service darkice1 start

I even added both commands to my "/etc/rc.local" file right before the exit 0 but that don't work either.

Can I get some help please.

Thanks
 

fdnyfish

Member
Feed Provider
Joined
Sep 25, 2005
Messages
333
Location
Barnesville, PA
active (exited)

active (exited) is the status of the service when checked

pi@raspberrypi:~ $ service darkice1 status
● darkice1.service - LSB: Simple script to start a program at boot
Loaded: loaded (/etc/init.d/darkice1; generated; vendor preset: enabled)
Active: active (exited) since Sun 2017-12-24 19:10:22 +05; 2min 40s ago
Docs: man:systemd-sysv-generator(8)
Process: 367 ExecStart=/etc/init.d/darkice1 start (code=exited, status=0/SUCCE
CGroup: /system.slice/darkice1.service

Dec 24 19:10:22 raspberrypi systemd[1]: Starting LSB: Simple script to start a p
Dec 24 19:10:22 raspberrypi darkice1[367]: Starting darkice Instance #1
Dec 24 19:10:22 raspberrypi systemd[1]: Started LSB: Simple script to start a pr
 

fdnyfish

Member
Feed Provider
Joined
Sep 25, 2005
Messages
333
Location
Barnesville, PA
I have it working. Here is what I did.

sudo update-rc.d -f darkice1 remove
crontab -e
@reboot sleep 30 && sudo service darkice1 start
 
Status
Not open for further replies.
Top