Results 1 to 1 of 1
  1. #1
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    How to restart a script after crash ? (Sickbeard)

    Hello,
    I have a script, Sickbeard, being launched on boot(in /etc/rc.local ) on my NAS which I launch like this:

    sudo /home/opt/bin/python2.5 /home/user/pathtosickbeard/SickBeard.py -d



    Unfortunately, sickbeard crashes after the files have been downloaded on SAB, and, while I'm not able to fix this, I noticed that if I start the script again, everything goes well and my video files are post processed.
    So, Is there any way to automatically relaunch the daemon if it happens to crash?
    Thanks in advance !




 

 

Similar Threads

  1. Out of date and ready to restart
    By HunterTheRed in forum Member Introductions
    Replies: 1
    Last Post: 01-19-2013, 03:37 PM
  2. Help with a script
    By caldwelld in forum Command Line
    Replies: 1
    Last Post: 11-20-2012, 12:26 AM
  3. Email on shutdown and restart (Linux)
    By Rob in forum Linux News
    Replies: 0
    Last Post: 04-04-2012, 07:11 PM
  4. Debian and Maven, a crash of culture
    By Rob in forum Linux News
    Replies: 0
    Last Post: 03-24-2012, 01:54 PM
  5. Replies: 0
    Last Post: 12-21-2011, 04:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,591
Threads: 3,921
Posts: 9,452
Top Poster: Fred (1,486)
Welcome to our newest member, ancientgeek

» Links



Powered by vBadvanced CMPS