CCP 3823     

Art. 3823.  Persons authorized to make service; proof of service

A writ of habeas corpus may be served by any person over the age of twenty-one who is capable of testifying.

If the writ is served by someone other than a sheriff, the affidavit of the person who served it shall be prima facie proof of such service.