I have a similar issue.
My Backup NAS is most of the time down and will be waked once a week for backup.
I have set this up in UD with automount and it works flawlessly when the backup NAS is online.
When i restart unraid if the backup NAS is down i have the following in the logs:
Mar 18 19:16:11 MediaServer unassigned.devices: Mounting Remote Share '//192.168.0.100/Backup'...
Mar 18 19:16:11 MediaServer nginx: 2024/03/18 19:16:11 [alert] 6458#6458: worker process 13854 exited on signal 6
Mar 18 19:16:12 MediaServer unassigned.devices: Remote Server '192.168.0.100' is offline and remote share 'Backup' cannot be mounted.
UD shows it gray -> offline.
When i the backup NAS now, UD recognizes it and the dot goes green and the "mount" button will be orange.
If i press it it will mount.
But my use case is another one.
Some other dockers want accessing the mount and complaining that it does'nt exists -> they are correct because not auto mounted.
Can i use "/usr/local/sbin/rc.unassigned mount autoshares" in this siuation with an user script executed every minute?
Or is there another workaround for this scenario (backup NAS offline on boot -> will go online but not mounted in unraid UD)?
Or in other words is there a "force" parameter so i can force the mount (also when the remote is offline -> so just the mount folder is created?)
PS.: As a workaround, i am running the "... mount autoshares" now with an user script, 2 minutes prior the backup.
thanks