The notice must be served and returned in the ordinary manner, and the same length of time shall be allowed for appearance as in civil actions, and service of such notice on nonresident defendants may be had in such cases by publication.