November 24, 201015 yr In an effort to streamline my startup and shutdown process, I am trying to take advantage of rc.* scripts to start and stop items such as sabnzbd, sickbeard, etc. I have browsed quite a few threads on this topic (http://lime-technology.com/forum/index.php?topic=5611.0, to name one), but still don't quite know the best practices. I also write this post with the understanding that 5.0 will probably have some standards in place, but I'm still working on an rc of 4.6. Currently, I have a few rc.* scripts saved on my flash drive, all of which respond to start and stop commands. My go script copies those files to /etc/rc.d and makes them executable. The go script also calls those rc.* scripts with the start command. Not sure if this is the recommended method, but that's how I have it. What I don't know is how to insert the stop commands for these rc.* scripts in the rc.local_shutdown. I believe it needs to be inserted before rc.unRAID is called, correct? Or can I just make my own rc.local_shutdown script that is copied over in the go script. My assumption is this is not a good idea, in case something else modifies the rc.local_shutdown script. Any direction would be greatly appreciated!
November 24, 201015 yr Take a look: Here AND Here I have not had a chance to mess with doing this but I know for a fact Joe L. has been running this type of setup for 7+ months now and everything is working fine.
Archived
This topic is now archived and is closed to further replies.