Here's a script we run at startup. We've had over 5 power outages in the last
month (we really should get a UPS!). During testing and these incidents no lock
files have stopped airplay from restarting.
#!/bin/bash
#Start Rivendell Daemons
#rivendell-daemons stop
#Might need this to allow you mysql machine to start
#sleep 30
#You may need to uncomment these if you don't use the
#Tryphon repositories which auto start them
#/usr/bin/caed
#/usr/bin/ripcd
#/usr/bin/rdcatchd
#This timing allows the main server chance to get the audio share up
sleep 60
#Load rd airplay and today's log (Must be called e.g. 20121025)
#And play in logplayer 0 (Main log)
setsid rdairplay --log1=20`date +%y%m%d`:0+ &
sleep 2
jack_connect system:playback_1 rivendell_0:playout_0L
jack_connect system:playback_2 rivendell_0:playout_0R
jack_connect system:playback_3 rivendell_0:playout_1L
jack_connect system:playback_4 rivendell_0:playout_1R
jack_connect system:playback_5 rivendell_0:playout_2L
jack_connect system:playback_6 rivendell_0:playout_2R
________________________________
From: Jorge Soto <[email protected]>
To: User discussion about the Rivendell Radio Automation System
<[email protected]>
Sent: Wednesday, 8 May 2013, 13:13
Subject: [RDD] after
Can some one tell me how to set up rivendell to restart after a power outage?
suppose it's 3am and the power goes out and there is no one in the studio when
it comes back on, even if rivendell is on the "startup applications" how is the
"locked" files issue resolved? I am running on ubuntu 11.04
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev