Using systemd to keep an SMB share mounted
It's possible to use systemd to keep a SMB share mounted and retry it after the mount fails. This template-based approach scales relatively easily to multiple mounts.
Create the retry service template
In /etc/systemd/system/mount-retry@.service:
[Unit]
Description=Retry mounting %i
After=network-online.target
Wants=network-online. …