init.d: Let chown use the $LOGDIR variable.