All writs, processes, subpoenas, rules nisi, etc., for the forfeiture of bonds and all executions issued on behalf of the city for the collection of taxes, forfeitures, or for other purposes shall be directed to the marshal or chief of police of the city and, all and singular, the sheriffs and deputy sheriffs of said state, signed by the city clerk, bearing test in the name of the mayor; and such sheriffs and their deputies are empowered and required to execute all such writs, processes, subpoenas, rules nisi, executions, etc., issuing as aforesaid, when the property or parties to be proceeded against are without the corporate limits of the city, and the marshal or chief of police of the city shall serve all writs, processes, subpoenas, rules nisi, executions, etc., when the person or property to be proceeded against are within the corporate limits of the city.