If the certificate provided for in the preceding section is filed, the Sheriff must, if the defendant be in his custody, upon being served with a copy thereof, keep the defendant in his custody without executing the judgment, and detain him to abide the judgment on appeal.