Any county or city authorized in Section 15301 electing to use a state armory or armories for the purpose of this chapter, in consultation with the Community Advisory Committee appointed pursuant to Section 438 of the Military and Veterans Code or, if no committee has been appointed, in consultation with the Adjutant General, shall obtain a license from the Military Department with the following requirements:
(a) The county or city obtaining a license shall be solely responsible for measures and
costs required to comply with state and local health and safety codes during the license periods.
(b) The county or city obtaining a license shall be responsible for all legal liabilities during the license periods and the state shall be held harmless in each case.
(c) Except as provided in the annual Budget Act, the county or city obtaining a license shall be responsible for all costs of providing shelter in the state armory or armories to homeless persons during the license periods, including, but not limited to, all costs for minor emergency repairs, including, but not limited to, plumbing and electrical work, and shall reimburse the Military Department for all costs of providing armories for shelter operations including, but not limited to, utilities, building maintenance and repair, administrative costs, and for National Guardsman for the security of military equipment and
(d) The county or city obtaining a license shall be solely responsible for alternative housing arrangements, including relocation measures and transportation, for homeless persons housed in state armories during the license periods, upon notification from the Military Department that the armory or armories shall be required for military activities or emergency purposes as announced by the Governor. The Military Department or the Governor shall determine the evacuation deadline.
(e) The county or city obtaining a license shall be responsible for providing uniformed security personnel from one hour before the shelter opens until one hour after lights out. The county or city shall also ensure that officers from the local law enforcement agency with jurisdiction over the armory will conduct periodic visits to the armory on each night of operation.
(f) The county or city obtaining a license shall be responsible for providing janitorial service from a licensed contractor or qualified civil service employees in order to meet state health and sanitation standards for restrooms and shower facilities.