February 24, 201610 yr Hi, I'm looking to add some scripts when the network goes up (or down) to help automount/unmount my sshfs setup to my seedbox for Sonarr and CouchPotato I can't find /etc/network/if-up.d and /etc/network/if-down.d Should I just create these and hope for the best or does UnRaid run the network differently than normal linux installs? Thanks!
February 24, 201610 yr I don't have the exact answer to your question, but if this works on Slackware Linux it should work on unRAID.
February 24, 201610 yr Just remember if you create those specific directories it will only be written in RAM and when you reboot those directories and content will be erased. You could create a script in you go file that creates that path and moves files into it if needed as a fix or use a SSD. I'm sure somebody might have a more elegant method, but that's food for thought.
February 24, 201610 yr Author mmm, true, I do need to know when the network goes up or down to be able to run the automount/unmount scripts however, when does fstab run? because if it's after the network is up, then I'm all good. and now that I think of it. is fstab also in ram? I've got the nerd tools installed to get sshfs, is there some config in there that I can make this setup permanent? thanks for your help
February 24, 201610 yr mmm, true, I do need to know when the network goes up or down to be able to run the automount/unmount scripts however, when does fstab run? because if it's after the network is up, then I'm all good. and now that I think of it. is fstab also in ram? I've got the nerd tools installed to get sshfs, is there some config in there that I can make this setup permanent? thanks for your help Please share your findings as other also use seedboxes and this could be useful.
February 24, 201610 yr I don't remember where, but somewhere here I remember seeing a bit of code that checked now and then to see if Plex was running and if not it fired up a restart of it. I know your not dealing with Plex, but it might give you some idea to tinker with.
February 26, 201610 yr Author Here's a guide from someone who setup rclone, I think I'm going to follow the same type of instructions and setup my sshfs http://lime-technology.com/forum/index.php?topic=46663.0
Archived
This topic is now archived and is closed to further replies.