This helped me out tremendously. I'm running this on OMV 5 and it works flawlessly. The only issue I had is that I didn't pay attention to where the /run/disks was supposed to be created at. It's /var/run/disks, and then you create each file with that name.