Hello friends!

I was happy using these 2 upstart jobs for Rivendell daemons under ubuntu
10.04:


"/etc/init/caed.conf"
#########################################################################
description "Core Audio Engine Daemon - Rivendell"
author      "Fernando Della Torre <cont...@fdts.com.br>"

start on started mysql
stop on runlevel [!2345]

env DAEMON_USER=rduser
env AUDIOGROUP=rduser

pre-start script
        if [ ! -d /var/run/rivendell ]; then
                install --directory --mode 02775 --owner="$DAEMON_USER"
--group="$DAEMON_USER" /var/run/rivendell
        fi
end script

expect fork
exec /usr/bin/sudo -u $DAEMON_USER /usr/local/bin/caed
#########################################################################

"/etc/init/ripcd.conf"

#########################################################################
description "Rivendell Inter Proccess Communication Daemon - Rivendell"
author      "Fernando Della Torre <cont...@fdts.com.br>"

start on started caed
stop on runlevel [!2345]

env DAEMON_USER=rduser
env AUDIOGROUP=rduser

pre-start script
        if [ ! -d /var/run/rivendell ]; then
                install --directory --mode 02775 --owner="$DAEMON_USER"
--group="$DAEMON_USER" /var/run/rivendell
        fi
end script

expect fork
exec /usr/bin/sudo -u $DAEMON_USER /usr/local/bin/ripcd

post-start script
        exec /usr/bin/sudo -u $DAEMON_USER /usr/local/bin/rdcatchd
end script
pre-stop script
        exec /usr/bin/killall rdcatchd
end script
#########################################################################


They always went fine on mmy Ubuntu 10.04 from source installs.

Now I'm moving to Ubuntu 12.04 and it seens that the new upstart version is
not tracking the right PID of caed.


Is there anybody here using some upstart job under 12.04?

Thanks in advance!


Fernando Della Torre

(16) 98137-1240
(16) 99137-2886
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to