You're welcome!
I only need a shell script that runs the mount after every reboot, is that right?
Yes, but do test to double check.
In the article i have to run that mount order and that stuff for every domain. is there a way to apply that directly to all domains?
The procedure could be automated fully, including the initial setup when the domain is created. I'd consider the number of domains or, better said, how often would this need to be done manually, before deciding on how far to take it.
For full automation, I'd look into using
Plesk Event Handlers and go from there, including using a bit less hackish and a more complex mount script than I'm about to suggest.
But if you'd like to keep it simple (hackish but KISS, which isn't necessarily bad) and limit the automation to reboots only, I suggest using shell scripting to generate a list of domains and iterate over the list with a for loop to perform a bind mount for each domain. The script could be triggered by the crontab, as mentioned in the previous post.
Like I mentioned, it all depends on how far you'd like to take this...