Jump to content

TonyF

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by TonyF

  1. Thats the one i was using. I wanted to avoid assigning a script to every individual drive (Theres quite a few usb drives and i dont have them all at once to preset). I guess if thats the case i can maintain a flat file database to determine what was just plugged in and run the routine only on that one.
  2. I have common script so that when users plug in their USB drive it copies the files from a specific folder to the array. The usb gets automounted, backed up and then unmounted. I have set up a usb hub so that multiple usb drives can be plugged in at once. The script works fine however the issue i am having is when a second usb gets plugged in the common script gets executed again on the first usb which causes it to backup twice. I though the common script gets called once for the device that gets plugged in and not on all plugged in devices? Is this intended? Is there a workaround so it only runs once on the drive? There are many of these backup drives so i would like to do it from a common script if possible but cant have it run multiple times on each plugin. Just to add for clarity i start my script with the following. case $ACTION in 'ADD' ) if [ -d $MOUNTPOINT ] then
  3. Hi All, I am rather new to unraid and dockers and have been learning what i can over the past few days. I have a scenario where i want to install a proprietary webapp in a docker container. At first i attempted to create a custom xml but it looks like that can only point to a github repository? In the end i was able build the img/container via the SSH interface and that was all fine. The problem i have now is that under unraid it shows as an orphan image and not really sure where to go from here. Is it possible to write my own template xml and link it directly to a local Dockerfile?
×
×
  • Create New...