Community rallies behind officer shot on duty