All appropriate provisions of RSA 39 relative to warning the town meeting and posting the town meeting warrant shall apply to the town election.