FlyingPersian
Patron
- Joined
- Jan 27, 2014
- Messages
- 237
Hi
I installed SickRage via git (https://github.com/SickRage/SickRage.git) and I'm now trying to figure out how to autostart it on startup as the user media, which I had to create manually. I tried the following three things:
1. Add this line to /etc/rc.conf:
2. Add this line to crontab of the user media:
3. Add the following script with this line to crontab of the user media:
crontab
Script
This is the output of /var/log/cron:
Running the script manually works. None of the three methods worked so far. Any ideas what else I could do?
I installed SickRage via git (https://github.com/SickRage/SickRage.git) and I'm now trying to figure out how to autostart it on startup as the user media, which I had to create manually. I tried the following three things:
1. Add this line to /etc/rc.conf:
Code:
sickrage_enable="YES"
2. Add this line to crontab of the user media:
Code:
@reboot python /media/SickRage/SickBeard.py
3. Add the following script with this line to crontab of the user media:
crontab
Code:
@reboot /bin/sh /media/sickrage.sh
Script
Code:
#!/bin/sh #start SickRage python /media/SickRage/SickBeard.py
This is the output of /var/log/cron:
Code:
Jan 22 03:16:55 SickRage /usr/sbin/cron[23175]: (CRON) WARNING (madvise() failed) Jan 22 03:16:55 SickRage /usr/sbin/cron[23179]: (media) CMD (/bin/sh /media/sickrage.sh)
Running the script manually works. None of the three methods worked so far. Any ideas what else I could do?