Let a sample $(x,y) \in \mathbb{R}^{2n}$ be given, where $y$ only attains the values $0$ and $1$. We can try to model this data set by either linear regression $$y_i = \alpha_0 + \beta_0 x_i$$ with the coefficients determined by the method of least squares or by logistic regression $$\pi_i = \frac{\exp(\alpha_1 + \beta_1 x_i)}{1+\exp(\alpha_1 + \beta_1 x_i)},$$ where $\pi_i$ denotes the probability that $y_i = 1$ under the given value $x_i$ and the coefficients are determined by the Maximum-Likelihood method. My question is whether the following statement holds true.
Claim: If $\beta_0 > 0$ ($\beta_0 < 0$), then $\beta_1 > 0$ ($\beta_1 < 0$).
I figure this could be due to the sign of the correlation coefficient. However, I could not connect this to the logistic regression.