  By choosing a fluid source in $f(R)$ gravity, defined by $f\left(R\right)
=R-12a\xi \ln \left\ | R\right\ | $, where $a$ (=Rindler acceleration) and $\xi
$ are both constants, the field equations correctly yield the Rindler
acceleration term in the metric. We identify domains in which the weak energy
conditions (WEC) and the strong energy conditions (SEC) are satisfied.
