And launch this subcommand from a systemd unit file, and use systemd-mount to create the automount units instead of writing them manually.