darkice
Starting Darkice automatically on boot 1 In /etc/init.d/darkice find:
start-stop-daemon --start --quiet --pidfile $PIDFILE \
and replace it with:
start-stop-daemon --start --quiet
-m --pidfile $PIDFILE \
2 In /etc/init.d/darkice find:
stop_server() {
# Stop the process using the wrapper
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
--exec $DAEMON
errcode=$?
rm $PIDFILE 3 In /etc/init.d/darkice find:
running() {
# Check if the process is running looking at /proc
# (works for all users)
sleep 1 4 In /etc/default/darkice check that you have
RUN=
yes5 Add default user nobody to the audio group (in my case, to work with ALSA):
adduser nobody audio 6 Fix upstart problem (it seems Darkice is trying to start on boot too early):
update-rc.d -f darkice remove
update-rc.d darkice defaults 99 service darkice restart
Содержание