Section 15. If such sureties are to be approved by a justice of a district court or by a master in chancery, the officer who serves the writ shall give written notice to the defendant or to the person from whose custody the property has been taken, stating the time and place of hearing thereon and the names and residences of the proposed sureties, allowing not less than one hour before the time appointed for the hearing and at the rate of one hour additional for each mile of travel.