Hello all, I figured I'd share this with the list.
This is a simple little script that runnings cinelerra and if it crashes
will restart cinelerra and load the back up file

Regards
Eric

#!/bin/sh
# Cinelerra Watch dog 2011

Backup='~/.bcast/backup.xml'
Program='/usr/bin/cinelerra'
Launch=$Program

echo "Starting Cinelerra" 

until $Launch
  RET=$?
  [ "$RET" = "0" -o "$RET" = "1" -o "$RET" = "254" ]
do
   
  notify-send -i info 'Cinelerra' "crashed unexpectedly (exit code $RET)
and is restarting. Please wait..."
  Launch=$Program' '$Backup
  
done




_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to