My interpretation is that the passage means that "happiness will surely follow". A shotgun is a rather fearsome weapon, which would be sufficient to ward off most things. However, once one has achieved self-sufficiency and independence, one cannot keep from being happy. Happiness here is personified somewhat as something that comes to you, but you could not keep it away even if you had a shotgun to ward it off.