#2 as long as the second force is applied at the center of mass. If it's applied foreward of the center of mass, it will not only cause the townward acceleration, but also the torque that would rotate the ship.
Basically, as you drew it, #2 is the solution. If you move the thruster foreward on the ship, #1 is the solution.