For removing and selling the movable property pursuant to § 21-10-17, the officer shall be entitled to charge and receive the same fees as he would for levying upon and selling like property on execution, and for closing the premises and keeping them closed, a reasonable sum shall be allowed by the court. The proceeds of the sale of the personal property, as provided in § 21-10-17, shall be applied in payment of the costs of the action and abatement, and the balance, if any, shall be paid to the defendant.
SDCL 21-10-18